Skip to content

Commit

Permalink
modified: Gemfile
Browse files Browse the repository at this point in the history
modified:   Gemfile.lock
	-- Added ruby debug stuff for ruby mine

modified:   app/models/permission.rb
	-- added a requires for debugging purposed

modified:   app/models/site.rb
	-- fixed spelling error in many to many relationship with projects
  • Loading branch information
atruskie committed Nov 2, 2012
1 parent 5c275ba commit 8caf246
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions app/models/permission.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require 'enumerize'

class Permission < ActiveRecord::Base
extend Enumerize

Expand Down
4 changes: 2 additions & 2 deletions app/models/site.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ class Site < ActiveRecord::Base
# relations
has_many :photos, :as => :imageable

has_many :projects_sites
has_many :projects, :through => :projects_sites
has_many :project_sites
has_many :projects, :through => :project_sites

has_many :audio_recordings

Expand Down

0 comments on commit 8caf246

Please sign in to comment.