Skip to content
This repository

Ruby on Rails plugin for RightJS

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 vendor
Octocat-spinner-32 .gitignore
Octocat-spinner-32 CHANGELOG
Octocat-spinner-32 MIT-LICENSE
Octocat-spinner-32 README.rdoc
Octocat-spinner-32 Rakefile
Octocat-spinner-32 init.rb
Octocat-spinner-32 install.rb
Octocat-spinner-32 right-rails.gemspec
Octocat-spinner-32 uninstall.rb
README.rdoc

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

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

Something went wrong with that request. Please try again.