Skip to content

Commit

Permalink
Update model.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
hjvm2718 authored Dec 9, 2016
1 parent e649785 commit 0158f23
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/ib/model.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
module IB
# IB Models can be either lightweight (tableless) or database-backed.
# require 'ib/db' - to make all IB models database-backed
Model = IB.db_backed? ? ActiveRecord::Base : IB::Base
#Model = IB.db_backed? ? ActiveRecord::Base : IB::Base
Model = IB::Base
end

0 comments on commit 0158f23

Please sign in to comment.