Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include validations plugin in activerecord base #503

Merged
merged 2 commits into from
Aug 31, 2016

Commits on Aug 3, 2016

  1. Include validations plugin in AR if already defined

    In case `ActiveRecord::Base` has been already loaded before our
    validations plugin is loading, `ActiveRecord::Base` will already include
    ActiveModel::Validations but will not have our validations method.
    
    We want in this case to  include it also in `ActiveRecord::Base` so it can
    be used by the customers without `NoMethodError` exceptions
    Jon de Andres committed Aug 3, 2016
    Configuration menu
    Copy the full SHA
    84b95ea View commit details
    Browse the repository at this point in the history
  2. Use rack-protection from its repo, for sinatra->rack 2.0

    Jon de Andres committed Aug 3, 2016
    Configuration menu
    Copy the full SHA
    ad694bb View commit details
    Browse the repository at this point in the history