something like:

class MyModel < ActiveRecord::Base
  def ferret_enabled?
    self.secret == false
  end
end


John.

On Fri, 2007-09-28 at 13:54 +0200, Jim Neath wrote:
> Thanks, Jens.
> 
> How would I go about doing that?
-- 
http://www.brightbox.co.uk - UK Rails Xen Hosting

_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to