Commit aa94f699

mo k <mo@mokhan.ca>
2012-10-13 02:43:54
remove unushed methods.
1 parent d6f2022
Changed files (2)
app
spec
app/models/creation.rb
@@ -10,14 +10,6 @@ class Creation < ActiveRecord::Base
 
   default_scope order("created_at DESC")
 
-  def short_story
-    story.split[0...50].join(' ') + '...'
-  end
-
-  def is_owned_by(user)
-    @user == user
-  end
-
   def to_param
     "#{id}-#{name.gsub(/[^a-z0-9]+/i, '-')}"
   end
spec/requests/creations_spec.rb
@@ -3,7 +3,6 @@ require 'spec_helper'
 describe "Creations" do
   describe "GET /creations" do
     it "works! (now write some real specs)" do
-      # Run the generator again with the --webrat flag if you want to use webrat methods/matchers
       get creations_path
       response.status.should be(200)
     end