
Product
Introducing Rust Support in Socket
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
= ComboBox
Adds helpers for Rails views and controller in order to manage 'dynamic select'. It uses jQuery UI as support for inobtrusive use in forms. It's not the classic Autocompleter, its use is limited to belongs_to reflections.
== Rails 3.0
ComboBox requires the gem +jquery-rails+, so if you don't already use it: rails generate jquery:install --ui
Then install +combo_box+ in your app like +jquery-rails+: rails generate combo_box:install
Then the javascript and/or stylesheet files must be included in the application layout: <%= javascript_include_tag('combo_box') -%> <%= stylesheet_link_tag('combo_box') -%>
== Rails 3.1
Nothing to install. With the asset pipeline, there is no need to run generators or copy files. So for stylesheets:
*= require combo_box
And for javascripts:
*= require combo_box
== Usage
Classic usage in resource forms:
class OrdersController < ApplicationController search_for :client end
combo_box :order, :client
Usage in non-resource forms with personalized controller method:
class OrdersController < ApplicationController def search_for_orders orders = Order.find_all_by_number(params[:term]) render orders.collect{|r| {:label=>r.number, :id=>r.id}}.to_json end end
combo_box_tag "search", :search_for_orders
== Contributing to ComboBox
== Copyright
Copyright (c) 2011 Brice Texier. See LICENSE.txt for further details.
FAQs
Unknown package
We found that combo_box demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
Product
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.