Skip to content

Instantly share code, notes, and snippets.

View alphaone's full-sized avatar

Torsten Mangner alphaone

View GitHub Profile
@alphaone
alphaone / gist:1063264
Created July 4, 2011 11:54 — forked from dhh/gist:1014971
Use concerns to keep your models manageable
# autoload concerns
module YourApp
class Application < Rails::Application
config.autoload_paths += %W(
#{config.root}/app/controllers/concerns
#{config.root}/app/models/concerns
)
end
end