Ruby on Rails Saturday, August 29, 2015

On 29 August 2015 at 20:07, Elizabeth McGurty <emcgurty2@gmail.com> wrote:
> What may be more aesthetically pleasing to you is the structure. although I
> am not certain:
>
> before_filter :f2, :only => :show do |c|
> unless c.this.test?
> end
>
>
> Totally not certain about the syntax, but I think that the spirit of what I
> am offering may be helpful

Thanks for the suggestion, but I am not sure how that helps with the
f1 filter and the repeated call of test?()

Colin

>
> Liz
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to rubyonrails-talk+unsubscribe@googlegroups.com.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/rubyonrails-talk/a82fe669-12c2-4014-91b5-ae35d7a70504%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLt5mHKCMS0YdYwYvhZ4p5eJxkS3YuMY%3DWXTSxaKjFo%2B8g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment