Saturday, May 7, 2011

Re: [Rails] Inflection working everywhere but not propogating to AR table name?

On 7 May 2011 20:35, David Kahn <dk@structuralartistry.com> wrote:
> Am I confused or is something not right? The *reason* I made the change was
> to make the table name pretty! No other reason.

"data".singularize gives me "datum" - which is what it is. Can't you
change your model to the correct name "AuthDatum"? Then everything
would work as expected.

--
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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate