aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #367 from sikachu/credit_changelog.José Valim2011-05-021-1/+3
|\ | | | | Update CHANGELOG file to mention my name
| * Update CHANGELOG file to mention my namePrem Sichanugrist2011-05-031-1/+3
|/ | | | | | On the commit for updating :format parameters, seems like I've left out the credit name after the CHANGELOG entry. This should fix it, and in case someone has a problem they could seek assistance easier.
* introduce a body proxy to ensure that query cache is enabled during streamingAaron Patterson2011-05-023-3/+58
|
* more tests around cachingAaron Patterson2011-05-021-1/+10
|
* add a couple test cases surrounding query cache middlewareAaron Patterson2011-05-021-0/+18
|
* Fix failing AR test.José Valim2011-05-022-17/+12
|
* Merge pull request #360 from cgriego/activeresource-performance.José Valim2011-05-012-15/+94
|\ | | | | Optimize ActiveResource::Base.new(attributes)
| * Optimize ActiveResource::Base.new(attributes)Chris Griego2011-05-012-15/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add performance benchmark similar to ActiveRecord * Lazily find_or_create_resource_for_collection to not incur the overhead for empty arrays and arrays of primatives * #duplicable? is faster than inline rescues when the object is not duplicable * Don't constantly raise and handle NameError, raising is expensive * Even when a resource is nested inside a module, always look inside the class first for the resource definition so we don't overwrite classes all the time Before: user system total real Model.new (instantiation) 0.120000 0.000000 0.120000 ( 0.119961) Nested::Model.new (instantiation) 0.150000 0.010000 0.160000 ( 0.151183) Model.new (setting attributes) 28.540000 0.680000 29.220000 ( 29.271775) Nested::Model.new (setting attributes) 29.740000 0.580000 30.320000 ( 30.486210) After: user system total real Model.new (instantiation) 0.120000 0.000000 0.120000 ( 0.121249) Nested::Model.new (instantiation) 0.150000 0.010000 0.160000 ( 0.152429) Model.new (setting attributes) 11.480000 0.170000 11.650000 ( 11.656163) Nested::Model.new (setting attributes) 11.510000 0.210000 11.720000 ( 11.724249)
* | Use sprockets beta gemJoshua Peek2011-05-012-7/+5
|/
* Make the identity map use the instrumentation infrastructure so we can style ↵David Heinemeier Hansson2011-05-013-10/+31
| | | | the messages nicely with colors (FIXME: Can someone look into why the test is not working?)
* Remove schema noise from logging (TODO: Deprecate/remove the name attribute ↵David Heinemeier Hansson2011-05-011-4/+4
| | | | to all these methods -- will take a pull request!)
* Merge pull request #357 from joshk/assign_attributes.David Heinemeier Hansson2011-05-017-64/+464
|\ | | | | Assign protected attributes with create/new and control the role.
| * singular and collection relations in AR can now specify mass-assignment ↵Josh Kalderimis2011-05-016-59/+346
| | | | | | | | security options (:as and :without_protection) in build, create and create! methods.
| * Added mass-assignment security :as and :without_protection support to AR.new ↵Josh Kalderimis2011-05-012-29/+142
| | | | | | | | and AR.create
* | Merge pull request #340 from joshk/default_scope_changes.David Heinemeier Hansson2011-05-013-56/+41
|\ \ | | | | | | removed the default_scope deprecations and updated the docs and tests to
| * | removed the default_scope deprecations and updated the docs and tests to ↵Josh Kalderimis2011-04-283-56/+41
| | | | | | | | | | | | reflect its use cases
* | | made a copy-edit pass on the streaming RDocXavier Noria2011-05-021-33/+35
| |/ |/|
* | convert strings to lambdas so we can use a consistent interface to the ↵Aaron Patterson2011-05-011-5/+5
| | | | | | | | objects in the collection
* | assert_difference can take a callable piece of code rather than just evaling ↵Aaron Patterson2011-05-012-8/+19
| | | | | | | | a string
* | Merge pull request #316 from arunagw/jdbc_postgresql.Aaron Patterson2011-05-011-83/+83
|\ \ | | | | | | Re-factored database.rake to allow Jdbcpostgresql. #jruby
| * | Minor fixes in databases.rake Arun Agrawal2011-04-271-71/+71
| | |
| * | Allowing jdbcsqlite3 to drop database, clone structure. #jrubyArun Agrawal2011-04-271-7/+7
| | |
| * | Re-factored database.rake to allow Jdbcpostgresql. #jrubyArun Agrawal2011-04-271-5/+5
| | |
* | | Tidy up pending TODOs after discussion with Mr. Gatoz (@wycats).José Valim2011-05-017-107/+120
| | |
* | | Streaming docs.José Valim2011-05-013-42/+202
| | |
* | | log errors when an exception happens when streaming.José Valim2011-05-014-3/+37
| | |
* | | Add a test for rendering from the controller context.José Valim2011-05-011-0/+54
| | |
* | | Introduce view renderer.José Valim2011-05-015-33/+37
| | |
* | | Remove view dependency from AV::Renderer.José Valim2011-05-017-74/+100
| | |
* | | More cleanup and moving responsibilities around.José Valim2011-05-019-112/+83
| | |
* | | Remove more dependencies from the view.José Valim2011-05-015-24/+21
| | |
* | | Remove dependency from _template.José Valim2011-05-017-25/+26
| | |
* | | Start abstracting the renderer.José Valim2011-05-019-280/+301
| | |
* | | (temporary hack) generate a main file for RDoc escaping "Rails"Xavier Noria2011-05-013-11/+22
| | | | | | | | | | | | | | | | | | | | | RDoc autolinks the word "Rails" to the doc page for the Rails module. But README.rdoc is displayed in the home page at GitHub and the slashes are visible there, which is weird. We leave by now the slashes off in the file, and generate a second file for the API with them.
* | | Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-05-0124-188/+221
|\ \ \ | | | | | | | | | | | | | | | | Conflicts: railties/guides/source/contributing_to_ruby_on_rails.textile
| * | | Improved ActiveModel Observing docs.Sebastian Martinez2011-04-301-2/+4
| | | |
| * | | Removed so info about assigning to specific devs and adding tags. I don't ↵Mike Gehard2011-04-291-8/+2
| | | | | | | | | | | | | | | | believe that you can do that in GitHub issues. Remove state:committed notes as they also don't exist in GitHub issues.
| * | | Added missing word on guideSebastian Martinez2011-04-291-1/+1
| | | |
| * | | Upload patches is for LH, we use pull requests on GitHub nowSebastian Martinez2011-04-291-1/+1
| | | |
| * | | Merge branch 'master' of github.com:lifo/docrailsDan Pickett2011-04-2922-141/+185
| |\ \ \
| | * \ \ Merged pull request #40 from bytesource/master.Stefan Rohlfing2011-04-281-2/+2
| | |\ \ \ | | | | | | | | | | | | Rails Routing from the Outside In (routing.textile): Fixed Regex
| | | * | | Edited railties/guides/source/routing.textile via GitHubStefan Rohlfing2011-04-281-2/+2
| | |/ / /
| | * | | document the reorder method(fb215110401c70cfc7013c6e2ad5753fa4e374e9)Vijay Dev2011-04-281-4/+31
| | | | |
| | * | | update the Array#from behaviour changes - returns [] if index exceeds array ↵Vijay Dev2011-04-271-2/+2
| | | | | | | | | | | | | | | | | | | | length
| | * | | minor changesVijay Dev2011-04-272-6/+4
| | | | |
| | * | | Rephrased Dirty#changed? docsSebastian Martinez2011-04-261-1/+1
| | | | |
| | * | | Removed extra whitespaceSebastian Martinez2011-04-261-1/+1
| | | | |
| | * | | Better formatting on ActiveModel::TranslationSebastian Martinez2011-04-261-2/+2
| | | | |
| | * | | added the list of reversible commands in the newer migrationsVijay Dev2011-04-261-2/+6
| | | | |
| | * | | minor changes in migrations guideVijay Dev2011-04-261-7/+5
| | | | |