Alectrico
Provide acts_as_alectrico hook to your models.
Usage
Append act_as_alectrico to you model to let your model respond to last_quack instance method
Append acts_as_alectrico(:alectrico_text_field => :last_tweet) to let yout model respond to last_tweet method
Method quack it is also included as instance methods of models that you are using with acts_as_alectrico hook.
Installation
Add this line to your application's Gemfile: gem "alectrico"
gem "alectrico"
And then execute:
$ bundle
Or install it yourself as:
$ gem install alectrico
Contributing
alectrico®
License
The gem is available as open source under the terms of the MIT License.