aboutsummaryrefslogtreecommitdiffstats
path: root/railties
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Merge pull request #1784 from gazay/3-1-stable-shadowing-variablesJosé Valim2011-06-202-7/+7
|\ \ \ \ | | | | | | | | | | Removing shadowing outer local variables warnings
| * | | | Removed warnings about shadowing variablesAlexey Gaziev2011-06-202-7/+7
| |/ / /
* / / / assets:clean task now cleans up imagesJames A. Rosen2011-06-191-1/+1
|/ / /
* | | Flesh out the asset pipeline guide with information learned from today's ↵Ryan Bigg2011-06-181-20/+72
| | | | | | | | | | | | research
* | | copy-edits 7c2db6c, cbf2af1, and f391f94Xavier Noria2011-06-181-2/+2
| | |
* | | Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-06-1810-54/+187
|\ \ \
| * | | Added 'Configuring Assets' section to configuring guideRyan Bigg2011-06-181-0/+15
| | | |
| * | | minor clean up generators sectionVijay Dev2011-06-161-4/+5
| | | |
| * | | add info that plugin installs need git or svn installedVijay Dev2011-06-161-1/+1
| | | |
| * | | document doc:* rake tasksVijay Dev2011-06-161-1/+7
| | | |
| * | | typo changes fixedJudeAr2011-06-151-1/+1
| | | |
| * | | fixed typo chnagesJudeAr2011-06-151-1/+1
| | | |
| * | | add details on how to use specific annotations in rake:notesVijay Dev2011-06-151-2/+16
| | | |
| * | | document how rake notes workVijay Dev2011-06-151-1/+22
| | | |
| * | | Updated rails´s guides on the config.serve_static_assets and it´s settings ↵thoefer2011-06-151-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 0bdeddbVijay Dev2011-06-151-2/+2
| | | |
| * | | Jruby => JRuby, Mysql => MySQLArun Agrawal2011-06-151-6/+6
| | | |
| * | | Moving hint down. As required after all database examples. Arun Agrawal2011-06-151-2/+2
| | | |
| * | | Using "Finally" at the end of database section. Arun Agrawal2011-06-151-2/+2
| | | |
| * | | Added Doc for Postgresql database with Jruby Platform. #jrubyArun Agrawal2011-06-151-0/+13
| | | |
| * | | Added doc for Mysql database with Jruby platform #jrubyArun Agrawal2011-06-151-0/+12
| | | |
| * | | Adding doc for Sqlite3 database for Jruby platform #jrubyArun Agrawal2011-06-151-0/+10
| | | |
| * | | Prefer Time.current over Time.now on example codeSebastian Martinez2011-06-141-2/+2
| | | |
| * | | Add Time#all_* to AS guides.Sebastian Martinez2011-06-141-0/+26
| | | |
| * | | fix minor errors in nested model guideVijay Dev2011-06-141-6/+6
| | | |
| * | | document the instance_accessor option for cattr_accessorVijay Dev2011-06-131-6/+12
| | | |
| * | | fix two typos: and array -> an arrayLukas Stejskal2011-06-131-2/+2
| | | |
| * | | assets are in app now and not in publicVijay Dev2011-06-121-4/+4
| | | |
| * | | Add example for rails server port option.Sebastian Martinez2011-06-111-1/+1
| | | |
| * | | fixed typo for a methodnamethoefer2011-06-111-1/+1
| | | |
| * | | document server optionsVijay Dev2011-06-121-0/+6
| | | |
| * | | more command guide changesVijay Dev2011-06-121-8/+6
| | | |
| * | | make some changes to the command line guideVijay Dev2011-06-111-7/+13
| | | |
| * | | minor changes in templates guideVijay Dev2011-06-111-6/+4
| | | |
| * | | add missing end in exampleVijay Dev2011-06-111-0/+1
| | | |
| * | | favor includes over old AR wayVijay Dev2011-06-111-1/+1
| | | |
| * | | fixed incorrect command usage. (This section needs to be updated in any case).Vijay Dev2011-06-111-1/+1
| | | |
| * | | minor fixes in action view guideVijay Dev2011-06-111-3/+3
| | | |
* | | | Attributes on scaffold and model generators default to string.José Valim2011-06-175-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 Noria2011-06-171-2/+20
| | | | | | | | | | | | | | | | copying, etc.
* | | | Patch for #1458 - [3.1.0.rc1] App plugins initialized before enginesJoseph Wong2011-06-161-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, ↵wycats2011-06-161-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_patchJosé Valim2011-06-162-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/1460Joseph Wong2011-06-162-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 oneVijay Dev2011-06-161-2/+2
| | | | |
* | | | | Improve the legacy wild controller route in app templatesWen-Tien Chang2011-06-161-1/+1
|/ / / /
* | | | load_generators from engine should also handle self automatically.José Valim2011-06-151-3/+3
| | | |
* | | | Merge pull request #1676 from neerajdotname/make_test_name_meaningfulSantiago Pastorino2011-06-131-1/+1
|\ \ \ \ | | | | | | | | | | Remove "is_assed" with something more meaningful
| * | | | Remove "is_assed" with something more meaningfulNeeraj Singh2011-06-131-1/+1
| | | | |
* | | | | namespace engine assetsRyan Bates2011-06-123-19/+37
|/ / / /