TODO: Write a gem description
Add this line to your application's Gemfile:
gem 'custom_logs', '0.0.4'
And then execute:
$ bundle
Generate config file:
$ rails g custom_logs or rails g custom_logs syslog
You can log your users data with this command:
$ bundle exec rake custom_logs:dump_users #for User class
or
$ bundle exec rake custom_logs:dump_users dump_class=Admin #for your custom class
TODO: Write usage instructions here
- Fork it ( http://github.com//custom_logs/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request