But when i give like this
before_filter :user_authenticate, :only => [:destroy]
before_filter :user_authenticate, :only => [:update]*
This was not working, but when i gave like this
*before_filter :user_authenticate, :only => [:destroy,:update]. this
what is the comparison with these 2 method, also i searched for this only,
and except.but i didn't get any correct explanation.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/CspgZyrJqSYJ.
To post to this group, send email to email@example.com.
To unsubscribe from this group, send email to firstname.lastname@example.org.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.