A limesurvey plugin for Rails to make an ActiveRecord model able to participate to Limesurvey surveys
This is a very very poor readme. I use this gem in my projects but I can't describe it better because I'm busy. But if anyone is interested just contact me
Add this line to your application's Gemfile:
gem 'limesurvey_rails'
And then execute:
$ bundle
Or install it yourself as:
$ gem install limesurvey_rails
In your participant model simply execute from your model class
is_a_limesurvey_participant
but there are many options ..
Because of this it's better run test separately (in a real scenario the participant model is expected to be initialized only once):
rake spec[main] && rake spec[survey] && rake spec[participant] && rake spec[participation]
Reminder for further bug investigation:
rake spec[,25280] #failing test
rake spec[survey,25280] #passing test
- Fork it ( https://github.com/[my-github-username]/limesurvey_rails/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