Ruby on Rails help needed

Soldato
Joined
29 Aug 2010
Posts
8,099
Location
Cornwall
Hi,

Starting a new project in Ruby on Rails and need some adice as I'm completely new to Ruby (and Rails).

The architecture for our system is to have a split between the back-end (database operations, etc.) and front-end (web stuff).

What's the easiest way of getting the front-end talk to the back-end?

Initial attempts seem to be REST based (from what I understand) but this isn't proving as successful as I was hoping. The back-end seems to return JSON that is then parsed into a Hash, but all the html.erb files seem to expect an object and i'm not sure how to get this.

As I said I'm new to Ruby so all I've done so far is the basic stuff as described by the first tutorial on guides.rubyonrails.com.

Thanks for any help/advice/suggestions.
 
RoR is a massive framework, I strongly advise you go through this http://guides.rubyonrails.org/getting_started.html
and some other tutorials as RoR requires you to work in a specific way to get the most out of the framework.

You have given a very vague question and one that to me hints at you not reading the tutorials properly.

With RoR it is worth really nailing the basics because it will become a lot easier later on.
 
Back
Top Bottom