Displaying 1 result from an estimated 1 matches for "any_control".
Did you mean:
phy_control
2007 Nov 20
2
Plugin: create instance methods dynamically in ClassMethods?
...oller
performs_incense_crud
end
and the performs_incense_crud method is invoked. Cool - the class method
has been added to the controller through the plugin.
But strangely the instance method index does not seem to have been
added! It''s just disappeared when trying to reach
www.xxx.yyy/any_controller/index
What''s wrong here? Can''t I add these methods dynamically this way?
Thanks
Josh
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails...