I took the course Rails Best Practices from CodeSchool and wanted to share my impressions.
- The tutorial assumes basic Rails knowledge
- Lessons are videos with examples
- Exercises are completed on Code School's site in a faux editor; the sit
#!/usr/bin/env ruby | |
# mjamesuggiero | |
# Tue Jul 10 22:14:59 PDT 2012 | |
# so embarrassed about this! | |
require 'test/unit' | |
class Cpm | |
def initialize(rate_in_cents, discounted_rate_in_cents, threshold) | |
@rate = rate_in_cents | |
@discounted_rate = discounted_rate_in_cents |
I took the course Rails Best Practices from CodeSchool and wanted to share my impressions.