Acts As Hasselhoff
Your application is now powered by HOFF!!!
CAUTION: with great chest hair comes great responsibility.
Add this line to your Rails application's Gemfile:
And then execute:
Once the gem is part of your Rails app it's pretty simple to use.
Just find a model you would like to have act as Hasselhoff and add:
# app/models/post.rb class Post < ActiveRecord::Base end
Now go save a
- Fork it ( https://github.com/mariozig/acts_as_hasselhoff/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 a new Pull Request