Project for Rails Workshop
This project is maintained by Gorav Bhootra
This repo covers the following topics: - Add devise - Change the UI - Change a route - Database migration - Add paperclip for uploads
This section covers two gems - devise and bootstrap-sass
resources :messages do
resources :comments
resources :categories
resources :tags
end
resources :posts do
resources :comments
resources :categories
resources :tags
end
resources :items do
resources :comments
resources :categories
resources :tags
end
Instead of above, we can do the following:
concern :sociable do
resources :comments
resources :categories
resources :tags
end
resources :messages, concerns: sociable
resources :posts, concerns: sociable
resources :items, concerns: sociable
You can @mention a GitHub username to generate a link to their profile. The resulting <a> element will link to the contributor's GitHub Profile. For example: In 2007, Chris Wanstrath (@defunkt), PJ Hyett (@pjhyett), and Tom Preston-Werner (@mojombo) founded GitHub.
Having trouble with Pages? Check out the documentation at http://help.github.com/pages or contact support@github.com and we’ll help you sort it out.