diff options
| author | mo khan <mo@mokhan.ca> | 2013-07-25 22:04:42 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2013-07-25 22:04:42 -0600 |
| commit | 6e1d9a71afb625753a6778862d0a51eed0d32246 (patch) | |
| tree | 366a392f40a7ef1912c42d20481d8772e37b4036 /app/models/tutorial.rb | |
| parent | 926258eeccf0dba069f6eb318a225f62231a6166 (diff) | |
fix some broken specs
Diffstat (limited to 'app/models/tutorial.rb')
| -rw-r--r-- | app/models/tutorial.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/tutorial.rb b/app/models/tutorial.rb index 822cbbdd..b7d11c49 100644 --- a/app/models/tutorial.rb +++ b/app/models/tutorial.rb @@ -4,7 +4,7 @@ class Tutorial < ActiveRecord::Base belongs_to :user acts_as_taggable - default_scope { order("created_at DESC") } + #default_scope -> { order("created_at DESC") } def to_param "#{id}-#{heading.gsub(/[^a-z0-9]+/i, '-')}" |
