On 22 February 2011 06:57, Bhasker Harihara <[email protected]> wrote:
> Is it not accessing the model at the time of
>
> $rake db:migrate.

Not unless you've written some code in the migration to do so.

> Is there anything like a cheat sheet for rails ?

There certainly are things like cheatsheets for Rails. I gave you a
link already to one reference, which had other links in it
(specifically, to the Rails wiki, which does not seem to be responding
at the moment), but if you Google your phrase "cheat sheet for rails"
you will get lots of results.

> Actually I found one but that did not have "type" as a reserved word.

Trust us, it is... you've discovered that yourself already :-)
Rails uses it to determine STI class type. Just change your fieldname
for now, and all will be good.

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to