Thanks,
I've followed your advice (created a maxed_out_adverts?) method in the user model. Works a treat. While I was at it I added a User.max_allowed_adverts column in my DB. I'm quite pleased with myself. However I think the adverts_controller could defo do with a critical eye being cast upon it. It's here. Comments? Am I right with this approach to before filters - I suspect some of those actions called by the before filters would be better placed in application_controller ? Pastie here with line numbers. http://pastie.org/575239 bb -- 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 rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---