On 22 April 2012 11:49, Colin Law <[email protected]> wrote: > On 22 April 2012 11:45, amvis <[email protected]> wrote: >> >> i have used >> this http://rails-bestpractices.com/posts/57-substituting-before_filter-load_object, >> but i didn't get that correctly, when i use the access >> specifier(private,protected),i am trying that for 2 days, i have got the >> issues...can u rearrange with the above code, for accessing >> instance variable in all action... > > Show us what you tried and what happened.
Just use a simple before_filter initially to get it working. Colin -- 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.

