Post" or "Asset".
Is there any way possible to achieve what I am trying without any
plugins? How can I tell ActiveRecord to save the content_type and
target_type of the relationship with the actual class name instead of
the base class name?
BTW: I looked into has_many_polymorphs, but i
/models/
application.rb when you instantiate Application object.
Expected /
.../app/controllers/application.rb to define Application.
Instead when you rename the app/controllers/application.rb (base
controller) to app/controllers/application_controller.rb, everything
works as expected.
-Satynos
ion.rb to app/
controllers/application_controller.rb and everything works as
expected.
-Satynos
On Jan 12, 9:21 am, Frederick Cheung
wrote:
> On Jan 12, 12:59 pm, Caesar wrote:> I also had the
> same problem. My application is running rails 2.0.2.
> > Has anyone actually found a good so
3 matches
Mail list logo