Skip to content

Commit

Permalink
remove annotate business from models
Browse files Browse the repository at this point in the history
  • Loading branch information
tjgrathwell committed Dec 16, 2012
1 parent b90e092 commit 5a268f9
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 96 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,3 @@

# Ignore Redcar directory
.redcar/*

/coverage
13 changes: 0 additions & 13 deletions app/models/event.rb
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
# == Schema Information
# Schema version: 20120410060636
#
# Table name: events
#
# id :integer not null, primary key
# title :string(255)
# created_at :datetime
# updated_at :datetime
# date :datetime
# location_id :integer
#

class Event < ActiveRecord::Base
belongs_to :location
has_many :volunteer_rsvps, :foreign_key => "event_id"
Expand Down
12 changes: 0 additions & 12 deletions app/models/location.rb
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
# == Schema Information
# Schema version: 20120410060636
#
# Table name: locations
#
# id :integer not null, primary key
# name :string(255)
# address :text
# created_at :datetime
# updated_at :datetime
#

class Location < ActiveRecord::Base
has_many :events
validates_presence_of :name, :address
Expand Down
48 changes: 0 additions & 48 deletions app/models/user.rb
Original file line number Diff line number Diff line change
@@ -1,51 +1,3 @@
# == Schema Information
# Schema version: 20120410060636
#
# Table name: users
#
# id :integer not null, primary key
# email :string(255) default(""), not null
# encrypted_password :string(128) default(""), not null
# reset_password_token :string(255)
# reset_password_sent_at :datetime
# remember_created_at :datetime
# sign_in_count :integer default(0)
# current_sign_in_at :datetime
# last_sign_in_at :datetime
# current_sign_in_ip :string(255)
# last_sign_in_ip :string(255)
# confirmation_token :string(255)
# confirmed_at :datetime
# confirmation_sent_at :datetime
# failed_attempts :integer default(0)
# unlock_token :string(255)
# locked_at :datetime
# authentication_token :string(255)
# created_at :datetime
# updated_at :datetime
# teaching :boolean
# taing :boolean
# coordinating :boolean
# childcaring :boolean
# writing :boolean
# hacking :boolean
# designing :boolean
# evangelizing :boolean
# mentoring :boolean
# macosx :boolean
# windows :boolean
# linux :boolean
# other :string(255)
# name :string(255)
#
# Indexes
#
# index_users_on_unlock_token (unlock_token) UNIQUE
# index_users_on_confirmation_token (confirmation_token) UNIQUE
# index_users_on_reset_password_token (reset_password_token) UNIQUE
# index_users_on_email (email) UNIQUE
#

class User < ActiveRecord::Base
# Include default devise modules. Others available are:
# :token_authenticatable, :encryptable, :confirmable, :lockable, :timeoutable and :omniauthable
Expand Down
13 changes: 0 additions & 13 deletions app/models/volunteer_rsvp.rb
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
# == Schema Information
# Schema version: 20120410060636
#
# Table name: volunteer_rsvps
#
# id :integer not null, primary key
# user_id :integer
# event_id :integer
# attending :boolean
# created_at :datetime
# updated_at :datetime
#

class VolunteerRsvp < ActiveRecord::Base
belongs_to :user
belongs_to :event
Expand Down
2 changes: 0 additions & 2 deletions doc/README_FOR_APP

This file was deleted.

6 changes: 0 additions & 6 deletions lib/tasks/annotate.rake

This file was deleted.

0 comments on commit 5a268f9

Please sign in to comment.