GithubHelp home page GithubHelp logo

theme_support's People

Contributors

igal avatar jystewart avatar reidab avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

theme_support's Issues

Error in rake task for themes:cache:update

The rails-2-3-support branch rake task for themes:cache:update is incorrectly calling the remove and create tasks:
task :update => [:theme_remove_cache, :theme_create_cache]

should be:
task :update => [:remove, :create]

Also, might be a good idea to move the tasks folder into the lib folder to avoid the deprecation warning in Rails 2.3.8:
DEPRECATION WARNING: Rake tasks in vendor/plugins/theme_support/tasks are deprecated. Use lib/tasks instead.

Thanks for an awesome plugin!

Theme_support doesn't work with Rails 3

Theme_support doesn't work with Rails 3.

"vendor/plugins/theme_support/lib/patches/actioncontroller_ex.rb:35:in alias_method': undefined methodactive_layout' for class `ActionController::Base' (NameError)"

Theme_support is it still maintained ?

can't convert Fixnum into String

I recently upgraded a Rails app from 1.x to 2.3.10, and upgraded the theme_support plugin to your version. However, I now get the following error. Any idea what's causing this?

can't convert Fixnum into String
vendor/plugins/theme_support/lib/patches/actionview_ex.rb:10:in `join'
vendor/plugins/theme_support/lib/patches/actionview_ex.rb:10:in `view_paths'
...

Also, what changes (if any) need to be made to the application to use this version of theme_support? Thanks!

Argument Error in theme_support_active_layout

ArgumentError (wrong number of arguments (2 for 1)):
/vendor/plugins/jystewart-theme_support/lib/patches/actioncontroller_ex.rb:61:in theme_support_active_layout' /vendor/plugins/jystewart-theme_support/lib/patches/actioncontroller_ex.rb:61:inactive_layout'
/var/lib/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/layout.rb:250:in pick_layout' /var/lib/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/base.rb:879:inrender_without_benchmark'

This happens when an application starts to render the views..

Error when creating theme cache with Capistrano

See my question on StackOverflow. When I try to have Capistrano run the rake task to create the theme cache on deploy, the task successfully runs but Capistrano reports the copy commands as errors. This may have nothing to do with theme_support, but I thought I'd post here to see if you know what the issue is. Thanks!

Namespaced rake tasks not updated in README

Another minor one, but at the top it says:

 * Rake tasks are now namespaced, eg: "rake themes:cache:create" instead of "rake theme_create_cache"

But below it still lists rake tasks with their old names.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.