Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Rails 4: Appetizers

Rails 4: Appetizers

Features in Rails 4.0 -- presented at @houstonrb

Jesse Wolgamott

July 09, 2013
Tweet

More Decks by Jesse Wolgamott

Other Decks in Programming

Transcript

  1. Rubies Ruby 1.9.3 at least, prefer 2.0 Rails 2.3 =>

    End of Life Ruby 1.8.7 => End of Life Wednesday, July 10, 13
  2. Bootup time faster on Ruby 2.0 with Rails 4 How

    fast? Cray Cray Faster Wednesday, July 10, 13
  3. Best if you have a upper-most site object. Example: Basecamp

    has an upper-most Account object. Cache Digests Wednesday, July 10, 13
  4. So: Add a Site object that has upper-most updated at.

    Cache Digests Wednesday, July 10, 13
  5. Will help with sidebar that does not directly belong to

    a Post. Cache Digests Wednesday, July 10, 13
  6. External javascript (stripe) Data tags on the body object things

    in the `<head>` like `<script>` tags Tubolinks Wednesday, July 10, 13
  7. Arel Changes find_by_customer_id => lives! find(:all, conditions: ["customer_id = ?",

    45]) => DEAD find(customer_id: 45) => new Wednesday, July 10, 13
  8. get more information http:/ /blog.wyeworks.com/ Rails Conf 2013 Postgres, the

    Best Tool You're Already Using Wednesday, July 10, 13