Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | replace if ! with unless | Neeraj Singh | 2010-10-17 | 2 | -2/+2 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | JQuery updated to 1.4.3 | Santiago Pastorino | 2010-10-16 | 1 | -1230/+2035 |
| | | | | | Check out http://blog.jquery.com/2010/10/16/jquery-143-released/ for information on what's new. | ||||
* | delete from :number until the end | Santiago Pastorino | 2010-10-15 | 1 | -1/+1 |
| | |||||
* | Removed duplicated method find_root_with_flag | Piotr Sarnacki | 2010-10-15 | 1 | -15/+0 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | in regexps, the dot in a character class is not a metacharacter | Xavier Noria | 2010-10-15 | 2 | -2/+2 |
| | |||||
* | Comment internal railties tasks. | José Valim | 2010-10-14 | 1 | -1/+1 |
| | |||||
* | Use railtie_name to correctly get name from plugins | Piotr Sarnacki | 2010-10-14 | 1 | -1/+1 |
| | |||||
* | Remove task for creating symlinks for railties | Piotr Sarnacki | 2010-10-14 | 1 | -19/+0 |
| | |||||
* | Update documentation for new tasks | Piotr Sarnacki | 2010-10-14 | 1 | -7/+8 |
| | |||||
* | Add task foo:install (where foo is plugin) as a shortcutinstall:migrations ↵ | Piotr Sarnacki | 2010-10-14 | 1 | -0/+6 |
| | | | | and foo:install:assets | ||||
* | Added foo:install:assets task that copies assets from plugins public ↵ | Piotr Sarnacki | 2010-10-14 | 2 | -5/+33 |
| | | | | | | | | | | | directory to application's public directory This is the most simple and naive approach: just copy every files from engine to app. The only exception is when file has changed, in that case developer will be asked if he wants to rename the field. There is no need to make this task more sophisticated as 3.1 will be shipped with better assets handling and it will be the default way to handle things. | ||||
* | Do not treat information about skipped migrations as WARNINGs but as a ↵ | Piotr Sarnacki | 2010-10-14 | 1 | -0/+6 |
| | | | | NOTEs, also puts to stdin | ||||
* | -j parameter added to rails new command. | siong1987 | 2010-10-11 | 6 | -51/+6282 |
| | | | | | | | | Now you can start your apps with jquery with rails new myapp -j jquery, the default is still prototype [#5613 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2010-10-11 | 1 | -1/+1 |
|\ | |||||
| * | Fix typo 'configation' [#5575 state:resolved] | Utkarsh Kukreti | 2010-10-11 | 1 | -1/+1 |
| | | |||||
* | | Updated DOCS for engines and added a couple TODOs. Also, commented internal ↵ | José Valim | 2010-10-11 | 2 | -35/+49 |
| | | | | | | | | railties rake tasks description. | ||||
* | | Merge remote branch 'drogus/engines' | José Valim | 2010-10-10 | 2 | -10/+31 |
|\ \ | |||||
| * | | Add 'foo:install:migrations' task to copy migrations from foo engine | Piotr Sarnacki | 2010-10-09 | 1 | -0/+14 |
| | | | |||||
| * | | Load rake tasks defined in superclasses in context of railties | Piotr Sarnacki | 2010-10-09 | 1 | -0/+7 |
| | | | |||||
| * | | Rename namespace method to isolate_namespace. | Piotr Sarnacki | 2010-10-09 | 1 | -10/+10 |
| | | | | | | | | | | | | | | | | | | | | | This change caused by confusion caused by calling engine "namespaced". Stuff inside engine can be namespaced for every engine. This method is not actually namespacing anything, it's isolating engine within the given namespace. | ||||
* | | | prevent rake test to run the test suite three times when ENV['TEST'] is set ↵ | David Calavera | 2010-10-10 | 1 | -1/+6 |
|/ / | | | | | | | | | | | [#3572 state:resolved] Signed-off-by: Xavier Noria <fxn@hashref.com> | ||||
* | | Fixing two minor errors in Rails::Generators::Actions initializer method ↵ | Juan Maiz | 2010-10-08 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | comments [#5771 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | | Makes this code a bit more clear | Santiago Pastorino | 2010-10-08 | 1 | -3/+3 |
| | | |||||
* | | Remove the final initializers since initializers += will return it anyway. ↵ | Ryan Bigg | 2010-10-08 | 1 | -1/+0 |
| | | | | | | | | | | | | [#3892 state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | | Refactored routes reloading to use RouteSet#append instead keeping block in ↵ | Piotr Sarnacki | 2010-10-08 | 2 | -23/+9 |
| | | | | | | | | | | | | Engine Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | | Fixed rake task description typo | Vesa Vänskä | 2010-10-08 | 1 | -1/+1 |
| | | |||||
* | | Add "a" to make it better English | Ryan Bigg | 2010-10-07 | 1 | -1/+1 |
|/ | | | | | | [#3796 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2010-10-06 | 1 | -1/+1 |
|\ | |||||
| * | Fixed typo in engine documentation | Thomas McDonald | 2010-10-06 | 1 | -1/+1 |
| | | |||||
* | | Fixes typo | Rafael Mendonça França | 2010-10-06 | 1 | -2/+2 |
| | | |||||
* | | Provide a cleaner syntax for paths configuration that does not rely on ↵ | José Valim | 2010-10-06 | 11 | -115/+173 |
| | | | | | | | | method_missing. | ||||
* | | Some initial docs | wycats | 2010-10-06 | 1 | -0/+7 |
| | | |||||
* | | Delegate everything to the generator | wycats | 2010-10-06 | 1 | -14/+4 |
| | | |||||
* | | Revert "Clean up the builder abstraction in AppGenerator." | wycats | 2010-10-06 | 1 | -54/+193 |
| | | | | | | | | | | | | | | The phrase "clean up" misrepresents the fact that this removes a feature that ships with Rails 3.0. This reverts commit 6774e12afa0f29442aa612ddf6e51d5a1b7a4356. | ||||
* | | Clean up the builder abstraction in AppGenerator. | José Valim | 2010-10-06 | 1 | -193/+54 |
| | | | | | | | | This commit may be reverted once documentation and a proper way to handle actions are added. | ||||
* | | Use RbConfig instead of Config for 1.9.3 compatibility. | José Valim | 2010-10-05 | 1 | -1/+1 |
| | | |||||
* | | Link to rack from github for this while. | José Valim | 2010-10-04 | 1 | -0/+3 |
| | | |||||
* | | Add documentation on app_generators | Piotr Sarnacki | 2010-10-03 | 1 | -0/+20 |
| | | |||||
* | | Move ETag and ConditionalGet logic from AD::Response to the middleware stack. | José Valim | 2010-10-03 | 1 | -1/+3 |
| | | |||||
* | | Be more explicit about what is deprecated. | José Valim | 2010-10-02 | 1 | -1/+1 |
| | | |||||
* | | Deprecate generators in Railties. You should use app_generators instead. | José Valim | 2010-10-02 | 3 | -30/+32 |
| | | |||||
* | | reload_routes! is part of the public API and should not be removed. | José Valim | 2010-10-02 | 2 | -2/+8 |
| | | |||||
* | | brings csrf_meta_tags back to the generated layout | Xavier Noria | 2010-10-02 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | After more discussion, it has be agreed that this kind of changes within reasonable margins are OK for 3.1. That is, it is fine to change a little bit the generators even if that means examples in existing books won't be exact. (Note that the singular csrf_meta_tag exists as an alias and thus those outdated examples will run, same for existing applications.) | ||||
* | | no need to check for nil | Neeraj Singh | 2010-09-30 | 1 | -1/+1 |
| | | |||||
* | | Add more information to comments. | José Valim | 2010-09-30 | 1 | -3/+5 |
| | | |||||
* | | Try to guess application's directory while trying to run the server, but ↵ | Piotr Sarnacki | 2010-09-30 | 1 | -0/+5 |
| | | | | | | | | only if config.ru is not present in current dir | ||||
* | | Moved Rails::RoutesReloader to Rails::Application::RoutesReloader | Piotr Sarnacki | 2010-09-30 | 3 | -56/+57 |
| | | |||||
* | | Allow running generators for Engine with usage of other application. | Piotr Sarnacki | 2010-09-30 | 1 | -1/+11 |
| | | | | | | | | | | | | | | | | After that commit, developers can set ENGINE_PATH in ENGINE/scripts/rails file and load application's ./script/rails (most of the time it will be dummy application used for testing). When running ./script/rails g it will use application to boot up, but then it will use Engine's root and configuration for generators. | ||||
* | | Added config.app_generators to allow configuring application's generators ↵ | Piotr Sarnacki | 2010-09-30 | 3 | -4/+18 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from railties. With config.generators becomes a way to configure generators for current instance only. For example: module Blog class Engine < Rails::Engine config.generators do |g| g.orm :active_record end config.app_generators do |g| g.test_framework :rspec end end end such definition sets :active_record as orm for engine and :rspec as test_framework for application. The values set with app_generators can be overwritten in application using config.generators as you would normally do: module MyApp class Application < Rails::Application config.generators do |g| g.test_framework :test_unit end end end | ||||
* | | Move routes_reloader to a class: RoutesReloader | Piotr Sarnacki | 2010-09-30 | 3 | -23/+57 |
| | |