James Byrne wrote: > This has just cropped up this morning and I have no clue as to what is > causing it. > > Here is the error when running the application through the web browser > in development: > > undefined method `method_exists?' for #<Entity:0x2b7214243bd0>
I put in a print self.methods.sort.to_yaml and, sure enough, when I do this through the browser this is what I see: ... - mark_for_destruction - marked_for_destruction? - metaclass - method - method_missing - methods - new_record? - nil? - object_id ... I put the same check in the controller @entity = Entity.new print @entity.methods.sort.to_yaml and it is missing there as well. No method_exists?, So, where is it going? However, -- Posted via http://www.ruby-forum.com/. _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users