0.0
No commit activity in last 3 years
No release in over 3 years
Adding just a touch of Ruby goodness to your JavaScript app.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

Rubyfy for Rails

Rubyfy brings some of the Ruby methods you miss in JavaScript to your Rails app.

Installation

Add Rubyfy to your gemfile:

gem 'rubyfy-rails'

Inside of your application.js file add the line:

//= require rubyfy

And wham-bam you can now call [1, 2, 3].last() in your JS code and get 3 returned to you!

Why?

The rubyfy-rails gem makes it easy to add Rubyfy to your Rails app. If you're like me, you might miss some of the Ruby methods you love when coding in JavaScript.

Configuration + Methods

Check out config options and a full list of available methods in the Rubyfy README.

License

MIT - Free and open for all. Plz contribue!