On Fri, May 4, 2012 at 11:24 PM, Scott Johnson <7.scot...@gmail.com> wrote:

> So my questions for the group are, does this seem like a reasonable
> solution or am I missing something like, this is why ActionController::Base
> exists and why don't you just open class it in the load path for the same
> effect?
>

It looks like a reasonable solution for your case, but I don't think that
it would be good to make it default in Rails.

What you could do to make it simpler is creating module as you proposed,
but don't require it on initialization, you could simply require it in
ApplicationController files and include there.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to rubyonrails-core@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-core+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.

Reply via email to