check what ?? this is a deleted line..the one after it is the correct line ' before_filter :authenticate_user!, :only => [:create , :edit, :update]'