Re: [Rails] Re: before_filter :except = [:controller = :main_menu] ??? do we have such thing

2010-08-19 Thread Jim Croft
On 19 Aug 2010, at 01:11, Mark Hamil wrote: Yeah I'm using the skip_before_filter method too, but still, it seems it would be better if you could specify a controller/action like your original posts suggests before_filter :custom_filter, :except = {:controler=:action} before_filter

Re: [Rails] Routes.rb

2010-08-17 Thread Jim Croft
On 17 Aug 2010, at 11:00, Hemant Bhargava wrote: In routes.rb, to create and access a new page everytime i need to write :page_name = :any to my config/routes.rb. Can you guys tell me any better alternative to this? I'm not 100% sure I understoon what you're after but take a look at:

Re: [Rails] Polymorphic Assosiations

2010-08-17 Thread Jim Croft
On 17 Aug 2010, at 13:37, Sateesh Kambhamapati wrote: I have doubts on Polymorphic Assosiations. On Which situations we are using these?? I used these recently for a pinboard. We have an internal system that contains contact management, support tickets, products services, billing etc. These