Skip to content

README.md says browser_validations = true by default, but generator makes it false #1746

Open
@viktorsmari

Description

Similar to #1216 which was closed

Environment

  • Ruby 2.7.3
  • Rails 6.1.3.2
  • Simple Form 5.1.0

Current behavior

rails generate simple_form:install
Creates config/initializers/simple_form.rb where line 130 is:

config.browser_validations = false

Expected behavior

The README.md says that it is true by default
https://github.com/heartcombo/simple_form/blame/master/README.md#L1111-L1113

Should the generator not create it as true if the readme says true is the default?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions