Working with modules to group certain methods. Currently I have this
set up and it works:
**# app/models/a.rb**
class A
has_history
end
**# lib/history.rb**
module History
module Model
def self.included(base)
base.send :extend, ClassMethods
I had problem even though I had installed mongrel --pre.
In Gemfile you need to specifically point mongrel to use 1.2.0.pre2
or else it will try to use the old version, even if you remove it from
the cache.
On Jun 20, 2:22 pm, Anthony Green li...@ruby-forum.com wrote:
More digging and the
I had problem even though I had installed mongrel --pre.
In Gemfile you need to specifically point mongrel to use 1.2.0.pre2
or else it will try to use the old version, even if you remove it from
the cache.
On Jun 20, 2:22 pm, Anthony Green li...@ruby-forum.com wrote:
More digging and the
3 matches
Mail list logo