Ruby on Rails Friday, September 3, 2010



On 3 September 2010 18:23, Hassan Schroeder <hassan.schroeder@gmail.com> wrote:
On Fri, Sep 3, 2010 at 8:59 AM, PalaniKannan K <kpalanikannan@gmail.com> wrote:

> I feel that, this is same kind of results I got in google search... Creating
> model using dumped schemas of existing table. but, its not working.

"its not working" isn't particularly useful information.

So you have an existing table, say "things".  You create a model for
it, e.g.

 class Thing < ActiveRecord::Base
 end

Done. Maybe you have to tell it there's a non-Rails-standard index
field, etc., but basically that's it. There's no reason to be fooling with
migrations if you have an existing table, unless you can and want to
do transformations on them to make them more Rails-like.

Realy Sorry... If my problem was not understandable. I am a new bee... there is no perfect tutorials available for already existing tables to develop web interface. In before cases I used cgi and perl. Now I started ruby and RoR. I feel its totally different from cgi. If you know any turorials with examples, kindly tell me. In previously mentioned link, I am unable to understand.

So what have you tried, and what's the actual problem?

--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.




--
With Regards
Palani Kannan. K
Office: +49-531-2616-226
Mobile: +4917647098166

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment