Set of addons to help with the activeadmin ui
WebSocket framework for Ruby on Rails.
StimulusJS datepicker component
Creates a new Date, but accepts a few more input types than normal.
Customizable Date Picker for React
A date input allows users to enter and edit date and time values using a keyboard.
Rails UJS for the react-rails gem
Use webpack to manage app-like JavaScript modules in Rails
Unobtrusive scripting adapter for jQuery
🌴 Gradual feature flags.
bootstrap-sass is a Sass-powered version of Bootstrap 3, ready to drop right into your Sass powered applications.
react-on-rails JavaScript for react_on_rails Ruby gem
A tiny Fetch API wrapper that allows you to make http requests without need to handle to send the CSRF Token on every request
Convention over configuration for using Vite in Rails apps
Attach cloud and local files in Rails applications
TypeScript definitions for @rails/actioncable
TypeScript definitions for @rails/activestorage
Type checking for JavaScript functions
Ruby on Rails unobtrusive scripting adapter
A Stimulus controller to create new fields on the fly to populate your Rails relationship.
Typescript port of an accurate python Hijri-Gregorian dates converter based on the Umm al-Qura calendar: https://github.com/mhalshehri/hijri-converter
StimulusJS autocomplete component
A date picker for your React app.
Date parser and formatter
Rails support for <input type='date'> with a jQuery UI datepicker polyfill
A gem that allows you to add date only, time only and datetime pickers to your forms. This gem also takes into account the way Ruby doesn't parse certain American-friendly dates so it passes along hidden fields with the values expected by rails. When updating the values they are 'localized' using the locale file to get them into the format expected by the picker.
Bare Bones Events CMS Rails Engine, event dates can be inputed as text in spanish, english date recognition is next.
DateAndTimeInput is a Rails extension, providing a form input for DateTime attributes arranged as two input fields, for date and time, respectively.
Dates passed in by date-pickers or text-input fields to a rails controller need to be converted to a ruby Date to be able to be saved and manipulated. This gem provides a simple controller add-on to facilitate the conversion.
= input_chronic A simple Rack middleware that parses a dates using Chronic, and returns the result in a standardized manner. The idea is to use this to verify the input in date input fields using AJAX, to provide immediate feedback to the user. == Usage Include "input_chronic" in your middleware stack. In Rails, this is done in environment.rb config.gem 'bjornblomqvist-input_chronic', :lib => 'input_chronic', :source => 'http://gems.github.com' config.middleware.use "input_chronic" This will catch requests to /gems.github.com/bjornblomqvist/input_chronic. Use GET requests and provide a parameter 'date' or 'datetime'. The value will be parsed by Chronic and returned formatted as 2009-01-01 or 2009-01-01 12:45, depending on the parameter name. Don't forget to add the javascript found at /javascript/input_chronic.js This is also implemented by catching the request before it reaches rails. To use this on a text input add the class chronic_date or chronic_datetime <input type="text" class="chronic_datetime" /> == Copyright Copyright (c) 2009 Erik Hansson, Bjorn Blomqvist. See LICENSE for details.
= Livedate A simple Rack middleware that parses a dates using Chronic, and returns the result in a standardized manner. The idea is to use this to verify the input in date input fields using AJAX, to provide immediate feedback to the user. == Usage Include Livedate in your middleware stack. In Rails, this is done in environment.rb config.gem 'livedate' config.middleware.use "Livedate" Specify the desired date + datetime formats you want too. Default error message for strings that Chronic can't pass can also be provided. The defaults are: config.middleware.use "Livedate", :date_format => '%Y-%m-%d', :datetime_format => ''%Y-%m-%d %H:%M', :invalid_format => '' This will catch requests to /parsedate. Use GET requests and provide a parameter 'date' or 'datetime'. The value will be parsed by Chronic and returned formatted as 2009-01-01 or 2009-01-01 12:45, depending on the parameter name. == Scripts There are two generators available to get simple javascripts that use livedate. Both will replace the contents on input elements with classes .date or .datetime on change with the result from the Chronic parse. script/generate livedate_jquery script/generate livedate_prototype Will put the appropriate version of the script in your public/javascripts directory. Feel free to change these if you need a different behavior.