Giter VIP home page Giter VIP logo

rails4_client_side_validations's People

Contributors

akelmanson avatar amangale avatar ares avatar arr-ee avatar bcardarella avatar bdmac avatar carlosramireziii avatar coolagin avatar eirc avatar eostrom avatar fgrehm avatar flop avatar godisemo avatar ivanoats avatar jarkko avatar jcasimir avatar jonkessler avatar joshweinstein avatar kalkov avatar kgautreaux avatar maintux avatar marcandre avatar mhenrixon avatar mikdiet avatar mjtko avatar mlyubarskyy avatar onomojo avatar pfeiffer avatar pranas avatar taavo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

rameshwar007

rails4_client_side_validations's Issues

Not working with devise form

I am trying to implement rails4_client_side_validation with devise form. I am getting "stack level too deep" error. Works well with other form though.

Any idea??

javascript dir

It is putting the javascript in public/javascripts, rails 3+ uses assets

initialize form_for with ArgumentError

Hi.

Rails4_client_side_validations 0.0.3
Got error for each 'form_for' after upgrade Rails 4.0.2 -> Rails 4.1.0 and it does not matter is a flag 'validation: true' in 'form_for' tags. For each 'form_for'.

ArgumentError
wrong number of arguments (5 for 4)

Framework trace:
actionview (4.1.0) lib/action_view/helpers/form_helper.rb:1240:in initialize' rails4_client_side_validations (0.0.3) lib/rails4_client_side_validations/action_view/form_builder.rb:47:ininitialize_with_rails4_client_side_validations'
actionview (4.1.0) lib/action_view/helpers/form_helper.rb:1146:in new' actionview (4.1.0) lib/action_view/helpers/form_helper.rb:1146:ininstantiate_builder'
actionview (4.1.0) lib/action_view/helpers/form_helper.rb:433:in form_for' rails4_client_side_validations (0.0.3) lib/rails4_client_side_validations/action_view/form_helper.rb:27:inform_for'
actionview (4.1.0) lib/action_view/template.rb:145:in block in render' activesupport (4.1.0) lib/active_support/notifications.rb:161:ininstrument'
actionview (4.1.0) lib/action_view/template.rb:339:in instrument' actionview (4.1.0) lib/action_view/template.rb:143:inrender'
actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template'
and so on…

thanx.

Incorrectly named directory

lib/generators/templates/client_side_validations should be renamed lib/generators/templates/rails4_client_side_validations to avoid errors finding initializer.rb when installing.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.