Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Changeset [c5e2a849ca9c2521851d6fe8184aca93679fdab9] by Pat Nakajima

Revision c5e2a849ca9c2521851d6fe8184aca93679fdab9, committed by Pat Nakajima · February 8th, 2009 @ 02:06 PM

Big commit.

  • Added etag for PostsController #index and #show actions
  • Added last_modified for PostsController#index
  • Introduced Fixjour into the tests
  • Cleaned up a lot of logic
  • Added a cache_validators plugin to simplify things http://github.com/nakajima/ainta...

24 changed files

  • M app/controllers/admin/posts_controller.rb
  • M app/controllers/posts_controller.rb
  • M app/models/post.rb
  • M app/models/posts/article.rb
  • M test/builders.rb
  • M test/fixtures/posts.yml
  • M test/fixtures/users.yml
  • M test/functional/posts_controller_test.rb
  • M test/functional/users_controller_test.rb
  • M test/test_helper.rb
  • M test/unit/article_test.rb
  • M test/unit/feed_test.rb
  • M test/unit/post_test.rb
  • M test/unit/user_test.rb
  • M vendor/plugins/activerecord_cache_validators/MIT-LICENSE
  • M vendor/plugins/activerecord_cache_validators/README
  • M vendor/plugins/activerecord_cache_validators/Rakefile
  • M vendor/plugins/activerecord_cache_validators/init.rb
  • M vendor/plugins/activerecord_cache_validators/install.rb
  • M vendor/plugins/activerecord_cache_validators/lib/active_record/cache_validators.rb
  • M vendor/plugins/activerecord_cache_validators/tasks/activerecord_cache_validators_tasks.rake
  • M vendor/plugins/activerecord_cache_validators/test/activerecord_cache_validators_test.rb
  • M vendor/plugins/activerecord_cache_validators/test/test_helper.rb
  • M vendor/plugins/activerecord_cache_validators/uninstall.rb