Permalink
Browse files

minor fixes

  • Loading branch information...
qedi
qedi committed Feb 17, 2014
1 parent a2b4485 commit 1294d47bbaecd509e2e9db4e7c736b5dcf31e453
Showing with 1 addition and 3 deletions.
  1. +1 −2 app/models/event.rb
  2. +0 −1 db/migrate/20140216201250_add_propagate_immediately_to_agent.rb
View
@@ -6,8 +6,7 @@
class Event < ActiveRecord::Base
include JSONSerializedField
- attr_accessor :propagate_immediately
- attr_accessible :lat, :lng, :payload, :user_id, :user, :expires_at, :propagate_immediately
+ attr_accessible :lat, :lng, :payload, :user_id, :user, :expires_at
acts_as_mappable
@@ -1,7 +1,6 @@
class AddPropagateImmediatelyToAgent < ActiveRecord::Migration
def up
add_column :agents, :propagate_immediately, :boolean, :default => false, :null => false
- execute "UPDATE agents SET propagate_immediately = 0"
end
def down

0 comments on commit 1294d47

Please sign in to comment.