This will allow you to do things like:
class Person < ActiveRecord::Base ; end
Person.lock :read=>true, :write=>true Person.unlock
The original article can be found at RubyOnRailsBlog.com:
blog comments powered by Disqus
This will allow you to do things like:
class Person < ActiveRecord::Base ; end
Person.lock :read=>true, :write=>true Person.unlock
The original article can be found at RubyOnRailsBlog.com: