Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
simple_auto_complete
Advanced tools
The most simple gem for text field auto complete. You only have to specify what collection you want to use for autocompletion.
Add this line to your application's Gemfile:
gem 'simple_auto_complete'
And then execute:
$ bundle install
Add this line to application.js:
//= require simple_auto_complete
Add this line to application.css:
*= require simple_auto_complete
Example 1:
#in controller:
@days = ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Satturday", "Sunday"]
#in view:
<%= text_field_tag_with_auto_complete :day, "", @days, id: "day_name" %>
Parameters are the same like text_field_tag has, but collection parameter (@days) that is put on third position
Example 2:
<%= f.text_field_with_auto_complete :country, @countries, {} %>
FAQs
Unknown package
We found that simple_auto_complete 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.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.