I do not want to use the filter. It will become an overhead for each and every request. Is there any other way?
aash dhariya wrote in post #1066492: > I don't know if this is the correct way to do but you can add an > "is_blocked" field in the user table whose default value is false. Then > you > can add a before_filter in the controller which validates the above > field. > > On Thu, Jun 28, 2012 at 1:05 PM, Tushar Gandhi <[email protected]> > wrote: > >> How can I fix this? I do not want to add any filter for each request. >> "Ruby on Rails: Talk" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/rubyonrails-talk?hl=en-US. >> >> > > > -- > Thanks, > Aash -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en-US.

