aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
Commit message (Collapse)AuthorAgeFilesLines
* remove executable permission from files that don't need it. [#4802 ↵rohit2010-06-202-0/+0
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Strip trailing whitespace from generated applications [#4905 state:resolved]Chris Griego2010-06-205-8/+8
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Make polymorphic_url and scaffolding work with uncountable resources [#3930 ↵Andrew White2010-06-206-5/+13
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Merge branch 'master' of github.com:rails/railsJosé Valim2010-06-201-24/+36
|\
| * Adds a few connection parameters for IBM databases.Antonio Cangiano2010-06-181-24/+36
| | | | | | | | | | | | [#3852] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* | Clear DescendantsTracker on each request.José Valim2010-06-191-0/+2
|/
* edit pass: the names of Rails components have a space, ie, "Active Record", ↵Xavier Noria2010-06-145-5/+5
| | | | not "ActiveRecord"
* Tidy up generators based on latest change on AM.José Valim2010-06-131-1/+1
|
* Create mailers folder when starting a new rails appLawrence Curtis2010-06-121-0/+0
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Support ruby 1.8.7 and 1.9.2 (and development versions)Jeremy Kemper2010-06-111-3/+17
|
* Single ruby version requirement messageJeremy Kemper2010-06-112-10/+5
|
* abort generation/booting on Ruby 1.9.1Xavier Noria2010-06-101-0/+6
|
* detect being inside a rails application even from a subdirectoryChad Fowler2010-06-102-19/+29
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Rails::Generators::GeneratedAttribute: tests, cleanups and a bugfix [#4631 ↵Jeff Kreeftmeijer2010-06-102-9/+24
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Cut down even further on rake -T noiseDavid Heinemeier Hansson2010-06-093-23/+78
|
* Cut down on tasks shown in rake -TDavid Heinemeier Hansson2010-06-095-21/+21
|
* Remove outdated section on web servers that didnt really tell you much anywayDavid Heinemeier Hansson2010-06-091-26/+1
|
* Remove needless links and search box and update doc linksDavid Heinemeier Hansson2010-06-091-17/+0
|
* You dont have to manually mention the application layout, its automatically usedDavid Heinemeier Hansson2010-06-091-1/+0
|
* Get ready for beta 4David Heinemeier Hansson2010-06-081-1/+1
|
* Hide remaining generators hooks [#4790 state:resolved]José Valim2010-06-081-1/+5
|
* Add delete to middleware stack proxy.José Valim2010-06-071-0/+4
|
* Improve performance of the Logger middleware by using simpler versions of ↵wycats2010-06-041-3/+4
| | | | methods
* Improve performance of the log subscriber by remembering the list of all ↵wycats2010-06-041-3/+10
| | | | loggers instead of trying to extract them each time
* Readme file changes:Rizwan Reza2010-06-051-56/+23
| | | | | | | * Took out stuff that's not relevant (or useful) anymore. * Some formatting. * Added helpful links to get started with Rails. * Took out Apache htaccess tutorial since we aren't teaching Apache here.
* Merge branch 'master' of git://github.com/rails/railsRizwan Reza2010-06-058-12/+23
|\
| * Missed fixing the banner on the Usage output for ThorMikel Lindsaar2010-06-041-1/+1
| | | | | | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
| * Changing command line API from 'rails blog' to 'rails new blog'.Mikel Lindsaar2010-06-044-5/+15
| | | | | | | | | | | | | | | | | | | | Also removed the limitation of not being able to call your new server any of the rails commands (generate, server, dbconsole, console etc) as there is no longer any ambiguity here. http://rails.lighthouseapp.com/projects/8994/tickets/4665 Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
| * Merge branch 'master' of github.com:rails/railsDavid Heinemeier Hansson2010-06-025-7/+16
| |\
| | * Still copy application configuration to generator even if they are required ↵José Valim2010-06-023-6/+4
| | | | | | | | | | | | earlier. Also tidy up the guide a little bit.
| * | You need the ruby-debug available in your Gemfile for debugger to workDavid Heinemeier Hansson2010-06-021-0/+3
| | |
* | | Improve Rails README [#4740 state:resolved]Matt Di Pasquale2010-06-051-119/+189
| |/ |/| | | | | Signed-off-by: Rizwan Reza <rizwanreza@gmail.com>
* | Add lib to load paths when application is inherited to be able to load lib ↵José Valim2010-06-022-1/+12
|/ | | | code during configuration.
* Remove the laziness from the middleware stack.José Valim2010-05-294-29/+31
|
* Removing Metal from Rails 3. wycats2010-05-2910-102/+8
| | | | | | | | | | | | | | | | | | | | If you have existing Metals, you have a few options: * if your metal behaves like a middleware, add it to the middleware stack via config.middleware.use. You can use methods on the middleware stack to control exactly where it should go * if it behaves like a Rack endpoint, you can link to it in the router. This will result in more optimal routing time, and allows you to remove code in your endpoint that matches specific URLs in favor of the more powerful handling in the router itself. For the future, you can use ActionController::Metal to get a very fast controller with the ability to opt-in to specific controller features without paying the penalty of the full controller stack. Since Rails 3 is closer to Rack, the Metal abstraction is no longer needed.
* performance and integration tests inherit from AD, not ACGonçalo Silva2010-05-282-2/+2
| | | | Signed-off-by: wycats <wycats@gmail.com>
* refactor evals and adds some __FILE__ and __LINE__Santiago Pastorino2010-05-201-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Kill legacy dispatcher.José Valim2010-05-181-24/+0
|
* Simplify cookie_store by simply relying on cookies.signed.José Valim2010-05-181-6/+2
|
* Revert "Moved encoding work in progress to a feature branch."wycats2010-05-172-1/+10
| | | | This reverts commit ade756fe42423033bae8e5aea8f58782f7a6c517.
* Moved encoding work in progress to a feature branch.Jeremy Kemper2010-05-162-10/+1
| | | | This reverts commits af0d1a88157942c6e6398dbf73891cff1e152405 and 64d109e3539ad600f58536d3ecabd2f87b67fd1c.
* Significantly improved internal encoding heuristics and support.wycats2010-05-162-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | * Default Encoding.default_internal to UTF-8 * Eliminated the use of file-wide magic comments to coerce code evaluated inside the file * Read templates as BINARY, use default_external or template-wide magic comments inside the Template to set the initial encoding * This means that template handlers in Ruby 1.9 will receive Strings encoded in default_internal (UTF-8 by default) * Create a better Exception for encoding issues, and use it when the template source has bytes that are not compatible with the specified encoding * Allow template handlers to opt-into handling BINARY. If they do so, they need to do some of their own manual encoding work * Added a "Configuration Gotchas" section to the intro Rails Guide instructing users to use UTF-8 for everything * Use config.encoding= in Ruby 1.8, and raise if a value that is an invalid $KCODE value is used Also: * Fixed a few tests that were assert() rather than assert_equal() and were caught by Minitest requiring a String for the message * Fixed a test where an assert_select was misformed, also caught by Minitest being more restrictive * Fixed a test where a Rack response was returning a String rather than an Enumerable
* Added rails command aliases (s g c db) to reserved words in app generator ↵Aleksandr Koss2010-05-161-1/+1
| | | | | | [#4602 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Takes out stale methods relating to edge_rails_versionRizwan Reza2010-05-161-33/+0
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Add some comments related to Hash method check.José Valim2010-05-161-0/+3
|
* Fix Hash#index deprecated warning in 1.9.x [#4600 state:resolved]Aleksandr Koss2010-05-161-1/+2
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Rename assert_attribute_type to asser_field_type.José Valim2010-05-161-3/+3
|
* Added assert_attribute_type to clean up GeneratedAttributeTest [#2377 ↵Jeff Kreeftmeijer2010-05-161-0/+12
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Move AD::Cascade to the bottom of the middleware stack.José Valim2010-05-163-34/+34
|
* using :time_select when the attribute type is :time in the scaffold ↵Jeff Kreeftmeijer2010-05-161-6/+7
| | | | | | generator. [#2377 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>