aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * test that unknown zones don't store mapping keysLeigh Caplan2010-06-281-0/+5
| | | | | | | | | | | | | | [#4942] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> Signed-off-by: José Valim <jose.valim@gmail.com>
| * Make the sentinel flag for route a bit more robust.José Valim2010-06-281-1/+1
| |
| * Tidy up valid conditions in router a bit.José Valim2010-06-281-2/+4
| |
| * Add :controller and :action to the list of valid conditionsAndrew White2010-06-281-0/+1
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * Do not trigger the old mapper to avoid deprecation messages.José Valim2010-06-281-1/+1
| |
| * Restores the escaping of urls generated from hashes. [#4765 state:resolved]Andrew White2010-06-282-9/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | HTML specifications recommend the escaping of urls in web pages, which url_for does by default for string urls and consquently urls generated by path helpers as these return strings. Hashes passed to url_for are not escaped by default and this commit reverses this default so that they are escaped. Undoes the changes of this commit: http://github.com/rails/rails/commit/1b3195b63ca44f0a70b61b75fcf4991cb2fbb944 Signed-off-by: José Valim <jose.valim@gmail.com>
| * Merge :constraints from scope into resource options [#2694 state:resolved]Andrew White2010-06-282-4/+49
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * Convert instance_variables to symbols before excluding internal vars [#4965 ↵rohit2010-06-281-1/+1
| | | | | | | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
| * Remove invalid conditions from route [#4989 state:resolved]Andrew White2010-06-283-4/+26
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * Deprecate the old router DSL. Since it is still used intensively across ↵José Valim2010-06-283-15/+25
| | | | | | | | ActionPack test suite, patches that translates Rails internal tests to the new router DSL are welcome (note though that a few tests shouldn't be translated since they are testing exactly the old mapper API, like the ones in actionpack/test/controller/resource_test.rb and actionpack/test/controller/routing_test.rb)
| * Strip_tags never ending attribute should not raise a TypeError [#4870 ↵Bruno Michel2010-06-283-0/+6
| | | | | | | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
| * Update CHANGELOGs.José Valim2010-06-283-2/+10
| |
| * Information about new rake task in CHANGELOGŁukasz Strzałkowski2010-06-281-0/+1
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * Small typowycats2010-06-271-1/+1
| |
| * Add this rule to run common tests and specifics ones from adapters dirSantiago Pastorino2010-06-271-1/+3
| |
| * Avoid "no such table" exception when schema migrations table does not existAkira Matsuda2010-06-271-0/+5
| | | | | | | | | | | | [#4990 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * Use ActiveRecord::Migrator.schema_migrations_table_name instead of ↵Akira Matsuda2010-06-271-1/+1
| | | | | | | | | | | | hardcoding "schema_migrations" Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * Fix several known web encoding issues:wycats2010-06-277-198/+318
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Specify accept-charset on all forms. All recent browsers, as well as IE5+, will use the encoding specified for form parameters * Unfortunately, IE5+ will not look at accept-charset unless at least one character in the form's values is not in the page's charset. Since the user can override the default charset (which Rails sets to UTF-8), we provide a hidden input containing a unicode character, forcing IE to look at the accept-charset. * Now that the vast majority of web input is UTF-8, we set the inbound parameters to UTF-8. This will eliminate many cases of incompatible encodings between ASCII-8BIT and UTF-8. * You can safely ignore params[:_snowman_] TODO: * Validate inbound text to confirm it is UTF-8 * Combine the whole_form implementations in form_helper_test and form_tag_helper_test
| * Add missing require, Base use deprecate methodSantiago Pastorino2010-06-271-0/+1
| |
| * rake db:migrate:status displays status of migrations [#4947 state:resolved]Kevin Skoglund2010-06-281-0/+25
| | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
| * Warn that ActiveRecord::Base.reset_subclasses is gone in Rails 3 final.Jeremy Kemper2010-06-271-0/+12
| |
| * Upgrade to Rack 1.2.1Jeremy Kemper2010-06-272-9/+15
| |
| * Implemented getbyte as an aliased method and RDoc addedSantiago Pastorino2010-06-281-3/+2
| | | | | | | | Signed-off-by: Xavier Noria <fxn@hashref.com>
| * Update to latest rails.jsJeremy Kemper2010-06-271-57/+114
| | | | | | | | [#4411 state:resolved]
| * Vendor unreleased rack-mount 0.6.6.pre dependencyJeremy Kemper2010-06-2737-3/+4016
| |
| * Missing BigDecimal dependencyJeremy Kemper2010-06-271-0/+2
| |
| * Move sqlite to sqlite3 for this tests to be run only on sqlite3 adapterSantiago Pastorino2010-06-282-0/+0
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * AV::logger returns AC::logger if it's defined, workaround meanwhile AV ↵Santiago Pastorino2010-06-281-2/+3
| | | | | | | | | | | | doesn't have it's own logger Signed-off-by: José Valim <jose.valim@gmail.com>
| * Move Rails module to abstract_unit to make test in isolation workSantiago Pastorino2010-06-282-3/+3
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * Makes more sense to ask about method_defined?Santiago Pastorino2010-06-281-1/+1
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * A few changes were done in this commit:José Valim2010-06-2810-119/+119
| | | | | | | | | | | | * Added :autoload to engines path API and redefine usage to be in sync with 6f83a5036d8a9c3f8ed7; * Do not autoload code in *lib* for applications (now you need to explicitly require them). This makes an application behave closer to an engine (code in lib is still autoloaded for plugins); * Always autoload code in app/ for engines and plugins. This makes engines behave closer to an application and should allow us to get rid of the unloadable hack required when controllers inside engines inherit from ApplicationController;
* | docs: note that mail() accepts arbitrary headersWincent Colaiuta2010-06-301-1/+3
| | | | | | | | | | | | | | | | | | The documentation makes it sound like mail() only accepts a limited set of headers in the headers hash, but it in fact accepts any arbitrary headers, and there is a test ("can pass random headers in as a hash to mail") for it in the test suite. Signed-off-by: Wincent Colaiuta <win@wincent.com>
* | accepts_nested_attributes_for typoAdam Meehan2010-06-291-1/+1
| |
* | Documentation for Array#sampleThiago Pradi2010-06-281-0/+7
| |
* | Revert commit 37c44c8e707c Need more research on disable-with and ↵Paco Guzman2010-06-281-4/+0
| | | | | | | | data-attributes
* | Added disable_with option description to button_to helperPaco Guzman2010-06-281-0/+4
|/
* Merge remote branch 'rails/master'Xavier Noria2010-06-28210-2206/+3105
|\
| * Fixed that an ArgumentError is thrown when request.session_options[:id] is ↵Michael Lovitt2010-06-276-36/+113
| | | | | | | | | | | | | | | | read in the following scenario: when the cookie store is used, and the session contains a serialized object of an unloaded class, and no session data accesses have occurred yet. Pushed the stale_session_check responsibility out of the SessionHash and down into the session store, closer to where the deserialization actually occurs. Added some test coverage for this case and others related to deserialization of unloaded types. [#4938] Signed-off-by: José Valim <jose.valim@gmail.com>
| * String#[] doesn't return the byte representation on 1.9.2, we should use ↵Santiago Pastorino2010-06-271-1/+1
| | | | | | | | | | | | getbyte that was already added as a Ruby < 1.9 core_ext Signed-off-by: José Valim <jose.valim@gmail.com>
| * Added getbyte as a core_ext to Ruby < 1.9Santiago Pastorino2010-06-272-0/+12
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * Fixes #2415 by creating a new instance of the Model when saving attributes ↵George Montana Harkin2010-06-272-21/+26
| | | | | | | | | | | | to that model and the associated attributes already exist. Tests included. [#2415 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
| * Normalize recall params when the route is not a standard route otherwise ↵Andrew White2010-06-272-3/+48
| | | | | | | | | | | | :controller and :action may appear in the generated url [#4326 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
| * removing useless code. [#4988 state:resolved]Aaron Patterson2010-06-261-15/+4
| | | | | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * Refactor: metaprogramming here it's confusing and make use of tapSantiago Pastorino2010-06-261-64/+73
| | | | | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * Change reference to Test::Unit::AssertionFailedError to the generic ↵David Trasbo2010-06-261-1/+1
| | | | | | | | | | | | ActiveSupport::TestCase::Assertion [#4987 state:commited] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * Refactor of column_exists? method and this works with PostgreSQLSantiago Pastorino2010-06-261-12/+6
| |
| * Removes useless flattenSantiago Pastorino2010-06-261-4/+9
| |
| * Add module_eval missing file_name and line_number args [#4712 state:resolved]Evgeniy Dolzhenko2010-06-261-2/+2
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * adding adapter tests, avoiding private apis, fixing code in 1.9 [#4986 ↵Aaron Patterson2010-06-262-3/+63
| | | | | | | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
| * Create a little bit less objects in ARel.José Valim2010-06-261-6/+9
| |