Update to rails 3

This commit is contained in:
Tom Hughes 2010-09-01 11:02:58 +01:00
parent 9ff70a861a
commit c9fa49c994
41 changed files with 4214 additions and 2461 deletions

View file

@ -1,7 +1,7 @@
# Filters added to this controller will be run for all controllers in the application.
# Likewise, all the methods added will be available for all controllers.
class ApplicationController < ActionController::Base
protect_from_forgery
if STATUS == :database_readonly or STATUS == :database_offline
session :off

View file

@ -111,8 +111,6 @@ class DiaryEntryController < ApplicationController
end
def rss
request.format = :rss
if params[:display_name]
user = User.find_by_display_name(params[:display_name], :conditions => { :status => ["active", "confirmed"] })