No commit activity in last 3 years
No release in over 3 years
RightRails is a RubyOnRails plugin for the RightJS JavaScript framework. It has transparent Prototype helpers replacement, a new RJS generator, the most common ajax operations interface and RightJS own features support like remote files uploading handler, UI, plugins, etc.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

Welcome To RightRails¶ ↑

RightRails is a RubyOnRails plugin for RightJS javascript framework.

It works as a drop in replacement for all the Prototype/Scriptaculous methods, plus it brings some more sweets and routine ajax operation helpers.

Features¶ ↑

  • Lightning fast RightJS library

  • Transparent Prototype/Scriptaculous helpers replacement

  • More powerful and flexible new JavaScript generator for RJS

  • Conventional JavaScript interface for the most common AJAX operations

  • Better controller level access to the rjs generator

  • New ajax-friendly scaffold generator

  • Remote files uploading organization

  • Automatic RightJS modules inclusion handling (including i18n modules)

  • Additional FormBuilder methods for various fields

  • Underscored and ruby-like aliases for RightJS core methods

Installation¶ ↑

Just add the following into your Gemfile

gem 'right-rails'

If you’re on Rails < 3.1 then run the right_rails generator

rails g right_rails

If you’re using Rails 3.1 with the pipeline assets handler, then you can require things in your application.js file

//= require right
//= require right/rails

Or, you can use right-rails automatic scripts handling by specifying

= javascript_include_tag :defaults

In your layout file. It will hook all the scripts on its own.

Documentation¶ ↑

See the wiki-pages for the documentation

github.com/MadRabbit/right-rails/wiki

See also the demo application for examples

github.com/MadRabbit/right-rails-demo

Copyright © 2009-2011 Nikolay Nemshilov, released under the MIT license