Monday, May 23, 2011

[Rails] Re: How do you get simple_form to use the base class and not the subclass?

I have added the question on Stack Overflow:
http://stackoverflow.com/questions/6103855/rails-3-model-subclasses-driving-me-crazy-please-help-with-correcting-urls-param

Feel free to answer it there. There's also a lot more code and
information about my problem.

I really hope we can solve this. Designing your application using
common OO concepts like inheritance/polymorphism should be allowed,
expected and encouraged by Rails. I really hope Rails has not decided
to forgo inheritance to make their framework simpler.

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