Re: [Rails] a newbie questionadding database field to a model basing only on schema (without model regenerat
On Aug 12, 2013, at 11:57 AM, Valentin Kotelnitski <lists@ruby-forum.com> wrote:
> Except that I need a property in my model of a table corresponding to a
> newly migrated column.
> That is the question.
? Rails models automatically derive from the current schema. If you're actually asking what I think you're asking, the answer is that you have to do absolutely nothing.
--
Scott Ribe
scott_ribe@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/2BEB9011-44E6-4FB0-8E55-79129181B586%40elevated-dev.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home