search for: undefinedmethod

Displaying 3 results from an estimated 3 matches for "undefinedmethod".

2007 May 07
3
Module Madness
...ethodUndefined" errors. I did finally get it to work, but I''m not sure why. Here''s the relevant bits: my_app.rb MyApp::Helpers include Global::Helpers def month_name ...helper code end end MyApp::Views def layout ...some markaby :navigation #throws an UndefinedMethod error if not a symbol ...some more markaby end end global.rb module Global module Helpers def navigation ...what i need end end end If I list the instance methods in irb, both "navigation" and "month_name" shows up. However, I have to use use :navigati...
2009 Jul 13
3
undefined method error from atom builder
I have a simple controller that takes a request, looks up some data and then returns the results as either HTML or Atom. The HTML response works fine, but the Atom Builder is blowing up with an undefined method error that I can''t figure out. It seems to be failing when the ActiveRecord instance is passed to the ''entry'' method and it tries to build the URL via the
2008 Nov 30
11
rake aborted! undefined method `each' for #<Mysql:
I''m struggling with several problems getting my first time ruby on rails environment running. I''m now stuck on this problem too. rake db:migrate generates the following error. This one is on a vista machine. Anyone seen this before. Any thoughts or advice? Reading about Ruby on Rails has really got me excited to give it a try. But in practice getting to the point that I can