Skip to content

Instantly share code, notes, and snippets.

View mabras's full-sized avatar
🏠
Working from home

Mohamad Abras mabras

🏠
Working from home
View GitHub Profile
@dhh
dhh / gist:1014971
Created June 8, 2011 18:09
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