Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A modular mixin for building best of breed (Ruby) HTML5/CSS3 web apps
Ruby JavaScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
lib
rails
spec
.gitignore
Gemfile
README.markdown
Rakefile
rubble.gemspec

README.markdown

Rails on Rubble

Rubble is a modular mixin for building best of breed (Ruby) web apps. It contains guidelines and best practices for developing HTML5/CSS3 websites.

Installation

Rubble is designed to work with Rails 3 only.

Add rubble to your gemfile with:

gem 'rubble', :git => 'git://github.com/capitalthought/rubble.git'

Run bundle install

Run the generators to pull in the rubble sass, views, or both.

rails g rubble:sass

OR

rails g rubble:views

OR

rails g rubble:all

Include the layout in your ApplicationController:

class ApplicationController < ActionController::Base
  include Rubble::Layout
  protect_from_forgery
end

Include the helpers in your ApplicationHelper module

module ApplicationHelper
  include Rubble::Helpers
end

TODO

Reference & Attribution

Rubble combines various ingredients and best practices and interpretations gleaned from:

HTML

CSS

JS

Something went wrong with that request. Please try again.