NOTE: This code is still experimental
ActiveRecord backend for Employer
Add this line to your application's Gemfile:
gem 'employer-activerecord'
And then execute:
$ bundle
Or install it yourself as:
$ gem install employer-activerecord
Generate and run the migration to create the employer_jobs tablein your database:
rails g employer:active_record
bundle exec rake db:migrate
Ensure that your Employer configuration starts with something like the below:
require "./config/environment.rb"
require "employer-activerecord"
pipeline_backend Employer::ActiveRecord::Pipeline.new
If you're not using Rails then require whatever sets up your application's environment instead of config/environment.rb before requiring employer-activerecord.
- Fork it
- 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