Git Product home page Git Product logo

dynamic_selectable's Introduction

GitHub StatsTop Langs

dynamic_selectable's People

Contributors

justinmcnamara74 avatar mattantonelli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dynamic_selectable's Issues

Turbolinks 5 support

With Turbolinks 5, scripts fired on the initial page load will no longer be re-run when the page is revisited. The coffeescript should be updated to either look for the turbolinks:load event or the listener should be updated to use event delegation.

A more detailed explanation of the issue can be found here.

undefined method `dynamic_selectable

Hi @mattantonelli, i followed your steps and configured the dynamic_selectable but rails spitting out:

undefined method `dynamic_selectable_[#<Gender id: 1, slug: "masculino", gender: "Masculino", created_at: "2015-12-29 20:26:14", updated_at: "2015-12-29 20:26:14">, #<Gender id: 2, slug: "feminino", gender: "Feminino", created_at: "2015-12-29 20:26:23", updated_at: "2015-12-29 20:26:23">, #<Gender id: 3, slug: "infantil", gender: "Infantil", created_at: "2015-12-29 20:26:31", updated_at: "2015-12-29 20:26:31">]_ids_path' for #<#Class:0x007f8904086328:0x007f890991a728>

Cannot submit dynamic selectable parent with form

Would be nice to have an option to submit the parent object with the form, if desired. Using the vehicle example, the vehicle model could reference both the make_id and the model_id. Currently, only the model_id would be submitted to the form.

Support for Rails 5

Looks like a useful gem.... can we please have support for Rails 5? Unsurprisingly, attempting an install as per the README instructions on a Rails 5 project raises dependency errors.

Phusion Passenger Error

After a new deployment using nginx and phusion passenger, the application fails to load with a 502 error. The following is displayed in the nginx error log:

[ 2015-04-13 13:40:38.0421 8139/7f81c14bc700 Pool2/Pool.h:777 ]: Process (pid=30506, group=/var/rails/ebb/current#default) no longer exists! Detaching it from the pool.
App 30519 stdout:
App 30478 stderr: /var/rails/ebb/shared/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/form_options_helper.rb:162:in `select': wrong number of arguments (1 for 2..5) (ArgumentError)
App 30478 stderr:   from /home/rails/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/passenger-4.0.44/lib/phusion_passenger/request_handler.rb:517:in `wait_until_termination_requested'
App 30478 stderr:   from /home/rails/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/passenger-4.0.44/lib/phusion_passenger/request_handler.rb:206:in `main_loop'
App 30478 stderr:   from /home/rails/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/passenger-4.0.44/helper-scripts/rack-preloader.rb:161:in `<module:App>'
App 30478 stderr:   from /home/rails/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/passenger-4.0.44/helper-scripts/rack-preloader.rb:29:in `<module:PhusionPassenger>'
App 30478 stderr:   from /home/rails/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/passenger-4.0.44/helper-scripts/rack-preloader.rb:28:in `<main>'

Convert coffee to JS

The coffee-script dependency can be removed if the jQuery library is converted to JS.

Tilt autoload coffee_script warning

Need to investigate how to solve this warning, which appears during Capistrano deployment and RSpec tests, without having to add coffee-script to the Gemfile.

Rails 6

Any plans to make this work in Rails 6?
Right now it won't install the gem because it says it's not compatible with Rails 6.

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.