Decoupling
November 7, 2013
Today I went through Chapter 5 of the Ruby on Rails tutorial. Some of the things I learned about were:
link_to- partials - they use the
rendercommand and the files start with an ‘_’ (underscore). - the asset pipeline
- sass files (.scss) - allow you to use nesting and variables.
At work yesterday I started working on moving over one of our sections of code to use more of a MVC style layout. I made good progress, but I feel like I skipped a step and I need to first finish decoupling all of the css (style tags) and javascript that have php tags sprinkled inside of them and move them to their own separate files.