No release in over 3 years
Low commit activity in last 3 years
It allows an application to have many different ways of rendering static assets and dynamic views.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
= 3.0.11

Runtime

>= 3.0.0
 Project Readme

Theme For Rails (3 and hopefully later)

Features list

  • Support for adding themes which includes stylesheets, javascripts, views and layouts.
  • add a theme-image-url sass helper method for asset pipeline based themes
  • update the generators and rake tasks to support asset pipeline based themes
  • (NEW) works with the Rails Assets Pipeline without interfering, and leveraging it.

Compatibility

This gem works with Rails from version 3.0 to at least 3.2.1 (current at the moment of writing this readme file).

Documentation

Ideas / Inspiration

  • Add ThemesForRails::Railtie for configuration, so we selectively set the plugin on or off. Also to be able to change several settings.
  • Add routes to allow access to the theme’s static resources (js and cs), unless cached on public folder by capistrano / rake.
  • Extend Action View path in order to make the views accessible. Same for the layouts.
  • More tests ford edge cases. Now I am only testing the happy paths.

Rails 2 Support

This gem only works with Rails 3 (duh). If you want the same exactly behavior, but for Rails 2.x, go here .

Running tests

gem install bundler
bundle install
rake

Authors and contributors

  • lucasefe
  • jedifreeman
  • jbarreneche
  • kule
  • matheusmoreira
  • rafaelss
  • maxjgon

Last but not least

If you are using this gem, please, take a minute to recommend me at Working With Rails.

Recommend Me