Skip to content

Commit

Permalink
make usage with bundler simpler
Browse files Browse the repository at this point in the history
  • Loading branch information
cldwalker committed Sep 30, 2010
1 parent b3492f7 commit 006a89b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.rdoc
Expand Up @@ -14,7 +14,7 @@ Install as a gem
$ gem install console_update

# with bundler: add in Gemfile
gem 'console_update', :require=>'console_update/activerecord'
gem 'console_update'

# without bundler: add in config/environment.rb
config.gem "console_update"
Expand Down
2 changes: 1 addition & 1 deletion init.rb
@@ -1 +1 @@
require 'console_update/activerecord'
require 'console_update'
4 changes: 3 additions & 1 deletion lib/console_update.rb
Expand Up @@ -143,4 +143,6 @@ def console_editable_attributes(options)
end
#:startdoc:
end
end
end

ActiveRecord::Base.send :include, ConsoleUpdate if defined?(ActiveRecord::Base)
2 changes: 0 additions & 2 deletions lib/console_update/activerecord.rb

This file was deleted.

0 comments on commit 006a89b

Please sign in to comment.