> skip_filter :authenticate_user!, :only => [:index, :show] unless > @current_layout.nil?
I'm guessing that the unless statement is being parsed as an argument to skip_filter. Try using parentheses like this: skip_filter(:authenticate_user!, :only => [:index, :show]) unless @current_layout.nil? Mike -- 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.