aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fix for IE incompatibility of :disable_with in submit_tagHan Kessels2009-06-012-4/+5
| | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Schema dumper now records scale 0 decimal columns as decimal not integer.Giles Alexander2009-06-013-2/+15
| | | | | | | | | | The schema dumper would dump out any decimal or numeric column that had a zero scale as an integer column. This will cause problems for very large precision columns on some DBMSs, particularly PostgreSQL. It also looks strange to see your column change type after moving through schema.rb. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#2741 state:committed]
* Updated the db:structure:dump task to properly format the pgdump command ↵Jeff Dean2009-06-011-1/+3
| | | | | | | when you have multiple schemas in your schema search path. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#2695 state:committed]
* better db:create for mysql - do not assume root userVladimir Dobriakov2009-06-011-3/+19
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1459 state:committed]
* Sidestep need for Kernel#silence_warningsJeremy Kemper2009-05-301-4/+4
|
* Depend on Hash#slice and Object#tryJeremy Kemper2009-05-301-0/+3
|
* Tolerate missing loggerJeremy Kemper2009-05-301-1/+1
|
* Use URI and InflectorJeremy Kemper2009-05-301-2/+4
|
* html-scanner uses Set and class_inheritable_accessorJeremy Kemper2009-05-301-0/+3
|
* Depend on Hash#diff extensionJeremy Kemper2009-05-301-0/+2
|
* AM::StateMachine autoloadsJeremy Kemper2009-05-301-0/+5
|
* Revert "Only save the session if we're actually writing to it [#2703 ↵Joshua Peek2009-05-303-40/+1
| | | | | | state:resolved]" This reverts commit dd98280e38d640f5724887cf8a715b79f0439d2d.
* Avoid loading the ActiveRecord::SessionStore class on initialization if it ↵Luke Melia2009-05-301-1/+1
| | | | | | is not in use [#2737 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Use AS::Concern in ActiveModelJoshua Peek2009-05-302-9/+6
|
* Make sure tests pass action name to Controller.action()Pratik Naik2009-05-301-1/+1
|
* Support Object#filter method for before/after filtersPratik Naik2009-05-301-0/+2
|
* AS::Concern redefines "include" to lazy include modules as dependenciesJoshua Peek2009-05-2921-31/+31
|
* AS::Concern includes InstanceMethods module if it existsJoshua Peek2009-05-294-12/+15
|
* Merge branch 'master' into active_modelJoshua Peek2009-05-29570-5763/+11404
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: activemodel/lib/active_model/core.rb activemodel/test/cases/state_machine/event_test.rb activemodel/test/cases/state_machine/state_transition_test.rb activerecord/lib/active_record/validations.rb activerecord/test/cases/validations/i18n_validation_test.rb activeresource/lib/active_resource.rb activeresource/test/abstract_unit.rb
| * Ruby 1.9: ERB template encoding using a magic comment at the top of the fileJeremy Kemper2009-05-285-10/+22
| |
| * Ruby 1.9: flushing the output buffer preserves its encodingJeremy Kemper2009-05-282-3/+21
| |
| * Reinstate pending output buffer testsJeremy Kemper2009-05-281-28/+36
| |
| * Ruby 1.9: use UTF-8 for default internal and external encodings.Jeremy Kemper2009-05-282-3/+9
| |
| * Break up DependencyModule's dual function of providing a "depend_on" DSL and ↵Joshua Peek2009-05-2852-89/+98
| | | | | | | | "included" block DSL into separate modules. But, unify both approaches under AS::Concern.
| * Revert "Revert "Whitespace!""Joshua Peek2009-05-2823-264/+270
| | | | | | This reverts commit 0cac68d3bed3e6bf8ec2eb994858e4a179046941.
| * Only save the session if we're actually writing to it [#2703 state:resolved]Johan Sörensen2009-05-283-1/+40
| | | | | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
| * The FlashHash and friends causes a lot of needless session storing, when we ↵Johan Sörensen2009-05-282-34/+43
| | | | | | | | | | | | know for a fact that there's no content in the flash. By not storing the empty hash in the session we save a lot of communication with the various session backends, while still keeping the same interface to the flash. [#2703 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
| * Memoize cookies so that updates to cookies are available in the current ↵Olly Legg2009-05-282-1/+7
| | | | | | | | | | | | request. [#2733 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
| * Fix script/server's default mount path [#2731 state:resolved]Joshua Peek2009-05-281-1/+1
| |
| * Fix failing ActionCacheFilter tests due to around filter changes.Yehuda Katz + Carl Lerche2009-05-272-3/+3
| |
| * Added support to new callbacks for around filter object that respond to ↵Yehuda Katz + Carl Lerche2009-05-271-1/+5
| | | | | | | | :before & :after used in before|after callbacks
| * Added support to new callbacks for around filter object that respond to ↵Yehuda Katz + Carl Lerche2009-05-271-0/+5
| | | | | | | | :before & :after
| * Added a compatibility layer to get legacy filter tests to pass on new baseYehuda Katz + Carl Lerche2009-05-271-5/+27
| |
| * Added hook point in new base #send_action which does the actual action ↵Yehuda Katz + Carl Lerche2009-05-272-2/+4
| | | | | | | | method dispatching
| * Add the ability to prepend filters to new callbacksCarl Lerche2009-05-272-1/+12
| |
| * Make the default 500 Internal Server Error page more friendly. Many people ↵Hongli Lai (Phusion)2009-05-271-1/+4
| | | | | | | | | | | | don't know they're supposed to look in the log files. [#2716 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
| * ensure initialize_database_middleware doesn't use ActionController if ↵calavera2009-05-272-6/+23
| | | | | | | | | | | | action_controller framework is not enabled [#2680 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
| * Ensure Memcache local cache returns duplicated values [#2302 state:resolved]Joshua Peek2009-05-272-1/+10
| |
| * Add % to RESERVED_PCHAR [#2574 state:resolved]Eduard Bondarenko2009-05-272-1/+6
| | | | | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
| * ActionController::Flash::FlashHash.use now returns either the value ↵Niels Ganser2009-05-272-6/+20
| | | | | | | | | | | | corresponding to the passed key or itself when no key is passed [#1792 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
| * server command help inconsistency fix [#2685 state:resolved]anupom syam2009-05-271-5/+5
| | | | | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
| * Fix failing CI test (broken in 2daac47 or e693f45): make ↵Chad Woolley2009-05-272-5/+6
| | | | | | | | | | | | test_multipart_with_template_path_with_dots only test path with dots, and stop failing on unrelated mimetype assertion. The image/jpeg multipart content type is already tested in test_explicitly_multipart_messages. Signed-off-by: Yehuda Katz <wycats@yehuda-katzs-macbookpro41.local>
| * Add an model_subclass generator.Fabien Jakimowicz2009-05-275-0/+71
| | | | | | | | | | | | | | | | This generator creates a new model as a subclass of an existing model and the unit test for that model. Lets users avoid having to manually delete the fixtures and migration or remember to pass those arguments. [#2702 state:committed] Signed-off-by: Michael Koziarski <michael@koziarski.com>
| * Merge branch 'master' of git@github.com:rails/railsYehuda Katz2009-05-271-0/+0
| |\
| | * Rename tools/profile_requires -> tools/profile since we do both require and ↵Jeremy Kemper2009-05-271-0/+0
| | | | | | | | | | | | ruby-prof profiling.
| * | Reduce the cost of using ActionController::Http significantly by:Yehuda Katz2009-05-2711-28/+88
| |/ | | | | | | | | | | | | | | | | | | * Removing the dependency on AD::Request and AD::Response * Moving the logic for the request and response object into a new module that is included by default. * Changing Renderer and Redirector to use self.headers, self.content_type, and self.status, which have very basic default implementations on AC::Http. When RackConvenience is included (which it is by default on AC::Base), the full Request/Response logic is used instead of the simple logic.
| * add a metal to minimal examples for comparisonJeremy Kemper2009-05-271-6/+11
| |
| * Get all template tests passing on new baseCarl Lerche2009-05-263-4/+6
| |
| * Got all the dispatch tests running on new baseCarl Lerche2009-05-264-11/+15
| |
| * Add controller/integration_test.rb to the new base test runnerCarl Lerche2009-05-261-2/+1
| |