Displaying 1 result from an estimated 1 matches for "scope_posts_to_us".
Did you mean:
  scope_posts_to_user
  
2006 Jul 24
0
Dynamic Scope plugin
Adds dynamic methods to scope.
Examples
scope_posts_to_user { yield } #=>
  Post.with_scope({
    :find => { :conditions => [ ''user_id = ?'', params[:user_id] ]},
    :create => { :user_id => params[:user_id] }
  }) { yield }
scope_messages_to_mailbox { yield } #=>
  Message.with_scope({
    :find => { :conditions =&...