Permalink
Commits on Jan 11, 2018
  1. Merge pull request #1448 from redrick/master

    feliperenan committed Jan 11, 2018
    Make errors_on_attribute return [] when not present
  2. Merge pull request #1534 from Fornacula/master

    rafaelfranca committed Jan 11, 2018
    Code cleanup
  3. Merge pull request #1532 from mameier/master

    feliperenan committed Jan 11, 2018
    Fix minlength
Commits on Jan 8, 2018
  1. Code cleanup

    Fornacula committed Jan 7, 2018
Commits on Jan 3, 2018
  1. Update copyright [ci skip]

    tegon committed Jan 3, 2018
Commits on Dec 20, 2017
  1. Update CHANGELOG.md

    feliperenan committed Dec 20, 2017
  2. Merge pull request #1256 from timurvafin/convert-to-model

    feliperenan committed Dec 20, 2017
    Try convert @object to model in case we got decorated object
Commits on Dec 15, 2017
  1. Fix minlength

    Martin Meier committed Dec 15, 2017
Commits on Dec 7, 2017
  1. Merge pull request #1460 from fschwahn/fix-falsey-unchecked-value

    feliperenan committed Dec 7, 2017
    Exclude hidden field when unchecked_value: false
  2. Exclude hidden field when unchecked_value: false

    fschwahn committed Jan 19, 2017
    Rails does not generate a hidden field for checkboxes if
    `unchecked_value` is false. The nested boolean creates its own hidden
    field and ignores this rule from rails. That means that the hidden
    field is generated for a falsey value when using the nested style, but
    not when using the inline style.
    
    This commit fixes this problem by making the nested style behave like
    the inline style, adhering to the standard set by rails.
    
    Resolves: #1320
Commits on Nov 29, 2017
  1. Merge pull request #1529 from plataformatec/update-changelog

    feliperenan committed Nov 29, 2017
    Update changelog [ci skip]
  2. Update changelog [ci skip]

    feliperenan committed Nov 29, 2017
    This just updates the unreleased section with the last changes.
Commits on Nov 28, 2017
  1. Merge pull request #1528 from plataformatec/plataformatec/fix-wrong-n…

    feliperenan committed Nov 28, 2017
    …umber-of-arguments-from-scope
    
    Fix error when the scope from association has parameter
  2. Merge pull request #1523 from q-centrix/freeze-strings

    feliperenan committed Nov 28, 2017
    Add frozen_string_literal magic comment to several files
  3. Fix error when the scope from association has parameter

    feliperenan committed Nov 27, 2017
    As we are using the instance_exec to execute the scope from the
    association, when the scope has a parameter, it's breaking.
    
    The scope's parameter always will be the instance of the own class, so
    we can fix it using the object instance that simple form uses to build
    the form.
  4. Fix mock of Relation#where

    feliperenan committed Nov 27, 2017
    This method ActiveRecord::Relation#where always will return a list, even
    when only one item was found. Since the Relation#where is a mock of
    ActiveRecord::Relation, I'm changing to keep it closer to the actual
    method.
  5. Merge pull request #1521 from hooroo/respond-to-where-fix

    feliperenan committed Nov 28, 2017
    Only call `where` on associations when they respond to it.
  6. Merge pull request #1505 from ombulabs/require-action-pack

    feliperenan committed Nov 28, 2017
    require 'action_pack' before using it
  7. Only call `where` on associations when they respond to it.

    anicholson committed Oct 5, 2017
    Replaces #1351, as this includes tests.
    
    🍐 @christian314159
  8. Add frozen_string_literal in all .rb files

    oniofchaos committed Oct 24, 2017
    I noticed these files all had strings such as "", "  ", "_" that were
    allocated each time some common methods were called, over 1000x on a
    page in my app. This comment freezes all of these strings such that
    they're only allocated once, saving many KB of memory allocation.
Commits on Nov 24, 2017
  1. Add issue template

    feliperenan committed Nov 22, 2017
    The issue template is a guide to help the contributors report issues.
  2. Merge pull request #1527 from plataformatec/plataformatec/travis-jrub…

    feliperenan committed Nov 24, 2017
    …y-build
    
    Fix JRuby build on Travis CI
Commits on Nov 23, 2017
  1. Fix JRuby build on Travis CI

    feliperenan committed Nov 23, 2017
Commits on Aug 23, 2017
Commits on Jul 14, 2017
  1. require 'action_pack'

    etagwerker committed Jul 14, 2017
    Fixes #1498
Commits on Jul 7, 2017
  1. Merge pull request #1504 from ombulabs/check-defined-rails-env

    rafaelfranca committed Jul 7, 2017
    Check if Rails.env is defined
  2. Check if Rails.env is defined

    etagwerker committed Jul 7, 2017
    Fixes #1503
Commits on Jun 19, 2017
  1. Merge pull request #1499 from louim/patch-1

    rafaelfranca committed Jun 19, 2017
    render an actual table in the readme