aboutsummaryrefslogtreecommitdiffstats
path: root/railties
Commit message (Collapse)AuthorAgeFilesLines
* Move application configuration to the application configuration object, ↵José Valim2010-03-267-106/+79
| | | | remove railtie_name and engine_name and allow to set the configuration object.
* Revert "find railties and engines by name [4264 state:resolved]"José Valim2010-03-262-29/+0
| | | | This reverts commit 7b8399b80cfff58cfe2313187ca3c803de8c8955.
* Make script/dbconsole work with oracle (sqlplus ↵Edgars Beigarts2010-03-261-0/+12
| | | | | | <username>[/<password>][@<connect_identifier>]) [#3773 state:resolved]
* Improve heuristic for railties default name, otherwise railties may be named ↵José Valim2010-03-263-8/+19
| | | | :railtie, :engine and so on.
* find railties and engines by name [4264 state:resolved]Josh Susser2010-03-262-0/+21
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* init.rb in plugins is here to staywycats2010-03-235-54/+22
|
* Ensure lib/rails/initializers/*.rb also works for gems.José Valim2010-03-235-50/+42
|
* Load plugin initializers from lib/rails/initializers/*.rbJoshua Peek2010-03-232-6/+46
|
* Explicitly require files before monkey patching them.José Valim2010-03-231-1/+5
|
* updated Rakefile with new app generator path [#4258 state:resolved]Sebastian Martinez2010-03-231-4/+4
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* rake tasks should use the new app generator path [#4257 state:resolved]Sebastian Martinez2010-03-231-2/+2
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* bin/rails should use the new app generator path.José Valim2010-03-231-1/+1
|
* Load generators from both lib/rails/generators and lib/generators. Using the ↵José Valim2010-03-23161-42/+42
| | | | former since it's less obstrusive.
* No -rubygems neededwycats2010-03-221-1/+1
|
* Provide a better error if thor is missingwycats2010-03-221-1/+9
|
* Controller generators should use routes shortcut.José Valim2010-03-222-2/+2
|
* Killing fixtures in mailer before they kill me (they usually lead to very ↵José Valim2010-03-225-20/+11
| | | | brittle tests).
* Also revert mailer generator test changes in 8b50f89Jeremy Kemper2010-03-211-2/+2
|
* Fix regression introduced in 8b50f89. Generated views mentioned the wrong path.Jeremy Kemper2010-03-212-4/+5
|
* do not support 'data-url' anymore, just use 'href' [#4236 state:resolved]Sebastian Martinez2010-03-211-2/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Make ERB generators more flexible and customizable.José Valim2010-03-215-46/+38
|
* Remove invalid builtin tests since we aren't adding that dir to theJoshua Peek2010-03-201-18/+0
| | | | load path anymore
* Autoload Rails::InfoJoshua Peek2010-03-205-8/+3
|
* Require info controller from info routesJoshua Peek2010-03-202-0/+4
|
* Move railties/builtin into libJoshua Peek2010-03-2012-17/+12
|
* Controller generators should generate tests when action is supplied. [#3421 ↵Sam Ruby2010-03-202-0/+11
| | | | state:resolved]
* Fix protect_against_forgeryCarlhuda2010-03-191-0/+27
|
* Controller generator now creates routes as well [#4233 state:resolved]José Valim2010-03-196-20/+23
|
* removed useless require lineSebastian Martinez2010-03-191-3/+0
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Use human_name in scaffold.José Valim2010-03-174-3/+25
|
* Change functional tests to make use of a setup block.José Valim2010-03-161-5/+9
|
* Deprecated framework rake tasks should exit with non-zero exit code [#4177 ↵Chris Griego2010-03-161-3/+3
| | | | | | status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* In app_generator, fix hardcoded `bundle` call to derive the bundle ↵Caio Chassot2010-03-122-3/+5
| | | | | | | | executable name from Thor::Util.ruby_command. This ensures that eg. when `rails` is called from `ruby1.9`, `bundle1.9` is called. Signed-off-by: José Valim <jose.valim@gmail.com>
* Add a check to ensure that the application name does not already exist, i.e. ↵Kieran Pilkington2010-03-122-0/+9
| | | | | | String or Module are part of ruby [#3872 status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Prettify generators description whenever using the default stack [#4143 ↵José Valim2010-03-122-2/+20
| | | | status:resolved]
* Load the environment before executing rails console. [#3905 status:resolved]José Valim2010-03-121-1/+1
|
* Revert "Always load the environment before executing any command. [#3905 ↵José Valim2010-03-122-6/+11
| | | | | | status:resolved]" This reverts commit 16846553b8866eab2aa3b128a2a23a221a25f7e3.
* Always load the environment before executing any command. [#3905 ↵José Valim2010-03-122-11/+6
| | | | status:resolved]
* Revert "Rake task for generating Rails documentation updated to support ↵Jeremy Kemper2010-03-111-33/+41
| | | | | | | | Bundler." Incredibly slow. Fix gem_path to not load the bundle fresh each call. This reverts commit 58796dcfc0d74fa3def752fa8b779f725f0747f0.
* Rake task for generating Rails documentation updated to support Bundler.Rizwan Reza2010-03-111-41/+33
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Update scaffold to use <%= form_forJeremy Kemper2010-03-101-1/+1
|
* Added alert to layouts on scaffold.José Valim2010-03-092-0/+5
|
* Move middlewares to the Application level. If you want to modify the ↵Carlhuda2010-03-082-4/+4
| | | | middleware, either use Rails.application.config.middleware or modify it in an initializer (if you need to set it relative to user-specified middleware).
* Aliasing class_eval makes JRuby ornery.wycats2010-03-071-1/+4
|
* Update generated Gemfile to use http://rubygems.org, unicorn instead of ↵Jeremy Kemper2010-03-071-4/+4
| | | | mongrel, and nokogiri instead of hpricot
* If RAILS_PATH isn't set, make a dummy doc taskJeremy Kemper2010-03-071-32/+40
|
* rake doc:rails complains loudly if there's no path to generate docs fromJeremy Kemper2010-03-071-1/+3
|
* Make many parts of Rails lazy. In order to facilitate this,wycats2010-03-073-4/+6
| | | | | | | | | | | | add lazy_load_hooks.rb, which allows us to declare code that should be run at some later time. For instance, this allows us to defer requiring ActiveRecord::Base at boot time purely to apply configuration. Instead, we register a hook that should apply configuration once ActiveRecord::Base is loaded. With these changes, brings down total boot time of a new app to 300ms in production and 400ms in dev. TODO: rename base_hook
* Load RAILS_VERSION relative to the gemspec file.Stefan Penner2010-03-061-1/+1
|
* Add mailers to paths in case someone wants to access it directly and ensures ↵José Valim2010-03-064-10/+14
| | | | deep nesting works in controllers.