Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | Merge pull request #1784 from gazay/3-1-stable-shadowing-variables | José Valim | 2011-06-20 | 2 | -7/+7 | |
|\ \ \ \ | | | | | | | | | | | Removing shadowing outer local variables warnings | |||||
| * | | | | Removed warnings about shadowing variables | Alexey Gaziev | 2011-06-20 | 2 | -7/+7 | |
| |/ / / | ||||||
* / / / | assets:clean task now cleans up images | James A. Rosen | 2011-06-19 | 1 | -1/+1 | |
|/ / / | ||||||
* | | | Flesh out the asset pipeline guide with information learned from today's ↵ | Ryan Bigg | 2011-06-18 | 1 | -20/+72 | |
| | | | | | | | | | | | | research | |||||
* | | | copy-edits 7c2db6c, cbf2af1, and f391f94 | Xavier Noria | 2011-06-18 | 1 | -2/+2 | |
| | | | ||||||
* | | | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-06-18 | 10 | -54/+187 | |
|\ \ \ | ||||||
| * | | | Added 'Configuring Assets' section to configuring guide | Ryan Bigg | 2011-06-18 | 1 | -0/+15 | |
| | | | | ||||||
| * | | | minor clean up generators section | Vijay Dev | 2011-06-16 | 1 | -4/+5 | |
| | | | | ||||||
| * | | | add info that plugin installs need git or svn installed | Vijay Dev | 2011-06-16 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | document doc:* rake tasks | Vijay Dev | 2011-06-16 | 1 | -1/+7 | |
| | | | | ||||||
| * | | | typo changes fixed | JudeAr | 2011-06-15 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | fixed typo chnages | JudeAr | 2011-06-15 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | add details on how to use specific annotations in rake:notes | Vijay Dev | 2011-06-15 | 1 | -2/+16 | |
| | | | | ||||||
| * | | | document how rake notes work | Vijay Dev | 2011-06-15 | 1 | -1/+22 | |
| | | | | ||||||
| * | | | Updated rails´s guides on the config.serve_static_assets and it´s settings ↵ | thoefer | 2011-06-15 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | in production mode using WEBrick. This documentation has it´s roots in #issue1657. You have to set config.serve_static_assets to true in production mode with WEBrick as only this includes ActionDispatch::Static. | |||||
| * | | | minor copy edit 0bdeddb | Vijay Dev | 2011-06-15 | 1 | -2/+2 | |
| | | | | ||||||
| * | | | Jruby => JRuby, Mysql => MySQL | Arun Agrawal | 2011-06-15 | 1 | -6/+6 | |
| | | | | ||||||
| * | | | Moving hint down. As required after all database examples. | Arun Agrawal | 2011-06-15 | 1 | -2/+2 | |
| | | | | ||||||
| * | | | Using "Finally" at the end of database section. | Arun Agrawal | 2011-06-15 | 1 | -2/+2 | |
| | | | | ||||||
| * | | | Added Doc for Postgresql database with Jruby Platform. #jruby | Arun Agrawal | 2011-06-15 | 1 | -0/+13 | |
| | | | | ||||||
| * | | | Added doc for Mysql database with Jruby platform #jruby | Arun Agrawal | 2011-06-15 | 1 | -0/+12 | |
| | | | | ||||||
| * | | | Adding doc for Sqlite3 database for Jruby platform #jruby | Arun Agrawal | 2011-06-15 | 1 | -0/+10 | |
| | | | | ||||||
| * | | | Prefer Time.current over Time.now on example code | Sebastian Martinez | 2011-06-14 | 1 | -2/+2 | |
| | | | | ||||||
| * | | | Add Time#all_* to AS guides. | Sebastian Martinez | 2011-06-14 | 1 | -0/+26 | |
| | | | | ||||||
| * | | | fix minor errors in nested model guide | Vijay Dev | 2011-06-14 | 1 | -6/+6 | |
| | | | | ||||||
| * | | | document the instance_accessor option for cattr_accessor | Vijay Dev | 2011-06-13 | 1 | -6/+12 | |
| | | | | ||||||
| * | | | fix two typos: and array -> an array | Lukas Stejskal | 2011-06-13 | 1 | -2/+2 | |
| | | | | ||||||
| * | | | assets are in app now and not in public | Vijay Dev | 2011-06-12 | 1 | -4/+4 | |
| | | | | ||||||
| * | | | Add example for rails server port option. | Sebastian Martinez | 2011-06-11 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | fixed typo for a methodname | thoefer | 2011-06-11 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | document server options | Vijay Dev | 2011-06-12 | 1 | -0/+6 | |
| | | | | ||||||
| * | | | more command guide changes | Vijay Dev | 2011-06-12 | 1 | -8/+6 | |
| | | | | ||||||
| * | | | make some changes to the command line guide | Vijay Dev | 2011-06-11 | 1 | -7/+13 | |
| | | | | ||||||
| * | | | minor changes in templates guide | Vijay Dev | 2011-06-11 | 1 | -6/+4 | |
| | | | | ||||||
| * | | | add missing end in example | Vijay Dev | 2011-06-11 | 1 | -0/+1 | |
| | | | | ||||||
| * | | | favor includes over old AR way | Vijay Dev | 2011-06-11 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | fixed incorrect command usage. (This section needs to be updated in any case). | Vijay Dev | 2011-06-11 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | minor fixes in action view guide | Vijay Dev | 2011-06-11 | 1 | -3/+3 | |
| | | | | ||||||
* | | | | Attributes on scaffold and model generators default to string. | José Valim | 2011-06-17 | 5 | -17/+24 | |
| | | | | | | | | | | | | | | | | This allows the following: "rails g scaffold Post title body:text author" | |||||
* | | | | AS guide: expands safe string docs regarding destructive methods, coercion, ↵ | Xavier Noria | 2011-06-17 | 1 | -2/+20 | |
| | | | | | | | | | | | | | | | | copying, etc. | |||||
* | | | | Patch for #1458 - [3.1.0.rc1] App plugins initialized before engines | Joseph Wong | 2011-06-16 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and plugins inside engines It seems that plugins inside a Rails 3.1 application proper (i.e. in /vendor/plugins) are initialized before engines and plugins inside engines. After some debugging, I found the culprit in Rails::Application::Railties#all: def all(&block) @all ||= railties + engines + super @all.each(&block) if block @all end The call to super here implicitly passes the &block argument, which has the unfortunate side-effect of adding the plugin initializers first (in front of other railties and engines) in the case of Rails::Engine#initializers: def initializers initializers = [] railties.all { |r| initializers += r.initializers } initializers += super initializers end The solution here is to replace the super call with a call to #plugins. | |||||
* | | | | Make the API for compression consistent between JS and CSS. By default, ↵ | wycats | 2011-06-16 | 1 | -3/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | users just need to say whether they want compression or not, and a default will be chosen by a Railtie. In the case of CSS, this default is already chosen by the sass-rails gem. Users can still explicitly choose a compressor in their application.rb if they have a preference, but will usually want to let plugins choose defaults in their Railties. | |||||
* | | | | Merge pull request #1733 from SAP-Oxygen/master-plugins_in_engine_patch | José Valim | 2011-06-16 | 2 | -8/+10 | |
|\ \ \ \ | | | | | | | | | | | Cherry-picking patch for https://github.com/rails/rails/issues/1460 from 3-1-stable to master | |||||
| * | | | | Cherry-picking patch for https://github.com/rails/rails/issues/1460 | Joseph Wong | 2011-06-16 | 2 | -8/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from 3-1-stable to master [3.1.0.rc1] Plugins inside engines not eager-loaded properly and their rake tasks ignored Working with the new support for plugins inside engines in Rails 3.1, I found that certain things that work for regular plugins don't work for these new nested plugins. In particular, these methods in Rails::Engine don't seem to understand that an engine could have nested plugins: #load_tasks #load_generators #load_console #eager_load! A solution which worked out for me is to move the calls to railties.all { ... } from the overriding methods in Rails::Application into Rails::Engine. | |||||
* | | | | | replace dev.ror.com plugin url with a dummy one | Vijay Dev | 2011-06-16 | 1 | -2/+2 | |
| | | | | | ||||||
* | | | | | Improve the legacy wild controller route in app templates | Wen-Tien Chang | 2011-06-16 | 1 | -1/+1 | |
|/ / / / | ||||||
* | | | | load_generators from engine should also handle self automatically. | José Valim | 2011-06-15 | 1 | -3/+3 | |
| | | | | ||||||
* | | | | Merge pull request #1676 from neerajdotname/make_test_name_meaningful | Santiago Pastorino | 2011-06-13 | 1 | -1/+1 | |
|\ \ \ \ | | | | | | | | | | | Remove "is_assed" with something more meaningful | |||||
| * | | | | Remove "is_assed" with something more meaningful | Neeraj Singh | 2011-06-13 | 1 | -1/+1 | |
| | | | | | ||||||
* | | | | | namespace engine assets | Ryan Bates | 2011-06-12 | 3 | -19/+37 | |
|/ / / / |