Hi all, I'm pretty new in radiant and in ruby on rails but I'm making an extension for radiant and I have some questions I'm pretty sure you'll be able to answer:
I'm creating my tags for my extension in app/models/solr_tags.rb I'm using the method session of the ActionController::SessionManagement::ClassMethods class of rails but to use this session method I had to add this in my solr_tags.rb file: include ActionController::SessionManagement::ClassMethods After that I can call the method session in my lib/flare/controller_extensions.rb that is in a function I'm calling from my solr_tags.rb file. But now, I have this error: undefined method `write_inheritable_array' that I could solve doing an other include of a rails class but I was wondering if there is an other way to get all these rails method without adding an include each time I need one rails method. Furthermore, it's the method session that is using write_inheritable_array so it should be fine. I think I have some misconfiguration somewhere. Can you help? Hope I was clear enough, tell me if not and thank you in advance for your help. Marc _______________________________________________ Radiant mailing list Post: [email protected] Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
