Permalink
Browse files

cookbook4

  • Loading branch information...
1 parent de6da4c commit b2fc2be8260111c374b865d3fba1cd9ab4b05236 @pipistrellka committed Mar 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/models/category.rb
View
@@ -1,5 +1,5 @@
class Category < ActiveRecord::Base
- has_many :recipes, :order => "name", :dependent => :destroy, :conditions => "del is null"
+ has_many :recipes, :dependent => :destroy, :conditions => "del is null"
validates_presence_of :name
before_destroy do

0 comments on commit b2fc2be

Please sign in to comment.