Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8203959
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T07:44:26+00:00 2026-06-07T07:44:26+00:00

I am trying to build a CRM tool for a particular niche. I’m a

  • 0

I am trying to build a CRM tool for a particular niche. I’m a complete newbie. This will be my first app. My only programming experience is with VB and MS Access, so RoR is presenting quite the learning curve. I have worked through the first version of Michael Hartl’s Rails Tutorial. (And actually absorbed about 10% of it)

I bought a Themeforest bootstrap admin theme and have two general questions on it:

1) The theme has some PHP code in it. I’m assuming that I should re-write this code in Ruby, right? The code mostly controls things like file uploading, etc.–things that could be re-written in Ruby by an experienced programmer rather quickly (for me, it will take months 🙂

2) The theme contains a number of different pages. For example, one page is a dashboard, and another is a calendar. Both of these pages have a lot of duplication between them – all the main control buttons, etc., stay the same from page to page. In the theme, each page is a different HTML file where all of the code is simply duplicated. I’m assuming that I’ll want to set up some sort of template system in Rails so that I don’t cut-and-paste code between a bunch of HTML pages, right? (If I change a main button, I only want to make that change in one place, rather than in each of the 20 HTML files that came with this theme.)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T07:44:27+00:00Added an answer on June 7, 2026 at 7:44 am

    1)

    I’m not absolutely sure if there’s no other way, but it’s most likely the easiest solution.

    If you have to rewrite stuff that’s common in web apps, like file uploading, there is usually a gem to help you out, so you don’t have to do everything from scratch. I can recommend the paperclip gem, Railscast for file uploading, since we use that in our own project.

    Note: The Railscast is out of date, so the installation stuff is no longer accurate. Also, paperclip requires ImageMagick to work.

    Railscasts also cover lots of other useful gems. If you need to find something specific, just google it. The github page then usually reveals if a gem is still maintained or if you’re better off with something else.

    2)

    Rails prevents duplicated code with partials. Here’s the Railscast (syntax might have changed since 2008). Partials let you place code like headers, or buttons in your case, in a file, which can then be rendered in any of your views.

    Unfortunately, I can’t link the other stuff like the github page and Rubygems.org because I lack the reputation. I hope this still helps a bit.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying build this network connection using BroadcastReceiver. When connection doesnt exist it will
Trying to build a plugin effect that will some what look better than this
I'm trying build an App Engine connected Android application and am having some problems
Trying to build openssl-fips-2.0 with NDK, before I was lucky found this link and
I'm trying to build a Dynamics CRM 4 query so that I can get
I'm trying build a regex that will replace any characters not of the format:
Im trying to build sort of slide where when click on link .animate will
Trying to build a basic 3-layer architecture in my new application suite. For first
Trying to build a Metro app using Javascript and having issues with IndexedDb. I
Trying to build a FAQ page using jQuery. This is the js I'm working

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.