To Examples

BoxModel Example

Directions

  1. Create a new Rails project named BoxModel.
  2. Generate a controller with the name BoxModel having the view page1.
  3. See the fix at the bottom of the Announcements Page for remedying a Rails/CoffeeScript incompatability with Windows.
  4. Source code for the view page1: page1.erb.htm.
  5. Source code for the CSS stylesheet: box_model.scss.
  6. Localhost URL to view page1:
    http://localhost:3000/box_model/page1