search for: has_init_fil

Displaying 1 result from an estimated 1 matches for "has_init_fil".

Did you mean: has_init_file
2008 May 29
0
NoMethodError: undefined method `configuration' for #<String inside railties?
...ge printed out: #<NoMethodError: undefined method `configuration'' for #<String: 0x1145040>> After some hacking I''ve figured out it emanates from plugin.rb in railties (railties/lib/rails/plugin.rb) in the following block: def evaluate_init_rb(initializer) if has_init_file? silence_warnings do # Allow plugins to reference the current configuration object config = initializer.configuration eval(IO.read(init_path), binding, init_path) end end end In the instances I have seen the failure occu...