search for: sub_list_system

Displaying 2 results from an estimated 2 matches for "sub_list_system".

2006 May 26
0
Hellp needed with sublist plugin
...n/Ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/base.rb:1354:in `initialize_without_callbacks'' E:/Programmeren/Ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/callbacks.rb:236:in `initialize'' #{RAILS_ROOT}/vendor/plugins/sublist/sub_list/lib/sub_list_system.rb:44:in `initialize_days'' #{RAILS_ROOT}/vendor/plugins/sublist/sub_list/lib/sub_list_system.rb:41:in `initialize_days'' #{RAILS_ROOT}/app/controllers/child_controller.rb:81:in `update'' -e:3 E:/Programmeren/Ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_recor...
2005 Dec 30
1
metaprogramming in controller: accessing instance variables
...he meta-programmed functions to have access to the instance vars (ie: @somethingorother or @params) just like the hard coded ones I had in the controller to begin with.. I''ve tried accessing via: instance_eval, instance_variable_get, eval.. all no good. I have a file called "sub_list_system.rb" in the lib dir: module UIEnhancements module SubList def self.included(mod) mod.extend(ClassMethods) class_eval { helper :SubList } end module ClassMethods def sub_list( model = ''Note'', parent = ''incomplete'' ) defi...