search for: something_method

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

2008 Nov 03
1
concerned_with, and maybe require_dependency issues only when running specs?
...as described here: http://paulbarry.com/articles/2008/08/30/concerned-with-skinny-controller-skinny-model Basically allowing me to have: /app/models/user.rb class User < ActiveRecord::Base concerned_with :something end /app/models/user/something.rb class User < ActiveRecord::Base def something_method do_it end end I realize that there might be better ways to deal with this same issue...some of my code might be better off in separate classes, or modules, etc, but for now I''m hoping to try this out. And it''s working working great in my code, when I run the server, script...