Jeremy Kemper Keynote

Get Started. It's Free
or sign up with your email address
Rocket clouds
Jeremy Kemper Keynote by Mind Map: Jeremy Kemper Keynote

1. Rails2

2. map.resources :users

2.1. All about resources

2.2. div_for user

2.3. etc

3. shed fat

4. gain speed

4.1. not care about making rails super-super.quick

4.2. code cleaner and easier to understand

5. 2.0 dec07 -> 2.1 jun08

5.1. 6 months

5.2. > 1400 contributors

5.3. > 1600 patches

5.4. > 9000 comments

5.5. Patrik Naik (lifo)

5.5.1. documentation branch

5.5.2. rails core

5.6. githubcom/rails

5.7. rails.lighthouseapp.com

6. Rails 2.1

6.1. app extractions

6.1.1. from real world apps

6.1.1.1. timezones

6.1.1.2. named scopes

6.2. refactoring / doc / thiner + faster

6.2.1. making rails beauty

6.2.1.1. speed

6.2.1.2. rubyprof

6.2.1.2.1. http://ruby-prof.rubyforge.org/

6.2.1.3. smaller footprint

6.3. features

6.3.1. merging migrations

6.3.1.1. timestamps

6.3.1.2. tracking already applied migrations

6.3.1.2.1. cursor => schema_version

6.3.1.2.2. history => schema_migrations

6.3.2. time_zone situps

6.3.2.1. mesage.created_at.to_s(:short)

6.3.2.2. Time.zone = current_user.time_zone

6.3.2.3. Time.zone.now

6.3.2.4. Time.zone.parse '5/30/08'

6.3.2.5. etc...

6.3.2.6. ActiveSupport::TimeWithZone

6.3.2.7. config.time_zone = 'Tijuana'

6.3.3. gem dependencies

6.3.3.1. config.gem 'mysql', :version => '2.7'

6.3.3.2. rake -T gems

6.3.4. memcache

6.3.4.1. memcache-client blunded

6.3.4.2. config.cache_store = :mem_cache_store, %w(foo-app-01, foo-app-02)

6.3.4.3. cache [user, :recent_messages], :expires_in => 1.minute

6.3.5. partial update / dirty

6.3.5.1. partial danger

6.3.5.1.1. optimistic locking!

6.3.6. smarter :include

6.3.6.1. avoids giant (unnecessary) join chains

6.3.7. named scopes

7. Ruby Test Garden

8. Rubinius on Rails

9. JRuby on Rails

10. Ruby 1.9 on Rails

11. Rails 2.1 Release today!!