Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| | * | | Optimize ActiveResource::Base.new(attributes) | Chris Griego | 2011-05-01 | 2 | -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 gem | Joshua Peek | 2011-05-01 | 2 | -7/+5 | |
| |/ / | ||||||
* / / | Flunk makes a lot more sense, doesnt it (hat tip @tenderlove) | David Heinemeier Hansson | 2011-05-02 | 1 | -1/+1 | |
|/ / | ||||||
* | | Make the identity map use the instrumentation infrastructure so we can style ↵ | David Heinemeier Hansson | 2011-05-01 | 3 | -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 Hansson | 2011-05-01 | 1 | -4/+4 | |
| | | | | | | | | to all these methods -- will take a pull request!) | |||||
* | | Merge pull request #357 from joshk/assign_attributes. | David Heinemeier Hansson | 2011-05-01 | 7 | -64/+464 | |
|\ \ | | | | | | | Assign protected attributes with create/new and control the role. | |||||
| * | | singular and collection relations in AR can now specify mass-assignment ↵ | Josh Kalderimis | 2011-05-01 | 6 | -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 Kalderimis | 2011-05-01 | 2 | -29/+142 | |
| | | | | | | | | | | | | and AR.create | |||||
* | | | Merge pull request #340 from joshk/default_scope_changes. | David Heinemeier Hansson | 2011-05-01 | 3 | -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 Kalderimis | 2011-04-28 | 3 | -56/+41 | |
| | | | | | | | | | | | | | | | | reflect its use cases | |||||
* | | | | made a copy-edit pass on the streaming RDoc | Xavier Noria | 2011-05-02 | 1 | -33/+35 | |
| |/ / |/| | | ||||||
* | | | convert strings to lambdas so we can use a consistent interface to the ↵ | Aaron Patterson | 2011-05-01 | 1 | -5/+5 | |
| |/ |/| | | | | | objects in the collection | |||||
* | | assert_difference can take a callable piece of code rather than just evaling ↵ | Aaron Patterson | 2011-05-01 | 2 | -8/+19 | |
| | | | | | | | | a string | |||||
* | | Merge pull request #316 from arunagw/jdbc_postgresql. | Aaron Patterson | 2011-05-01 | 1 | -83/+83 | |
|\ \ | | | | | | | Re-factored database.rake to allow Jdbcpostgresql. #jruby | |||||
| * | | Minor fixes in databases.rake | Arun Agrawal | 2011-04-27 | 1 | -71/+71 | |
| | | | ||||||
| * | | Allowing jdbcsqlite3 to drop database, clone structure. #jruby | Arun Agrawal | 2011-04-27 | 1 | -7/+7 | |
| | | | ||||||
| * | | Re-factored database.rake to allow Jdbcpostgresql. #jruby | Arun Agrawal | 2011-04-27 | 1 | -5/+5 | |
| | | | ||||||
* | | | Tidy up pending TODOs after discussion with Mr. Gatoz (@wycats). | José Valim | 2011-05-01 | 7 | -107/+120 | |
| | | | ||||||
* | | | Streaming docs. | José Valim | 2011-05-01 | 3 | -42/+202 | |
| | | | ||||||
* | | | log errors when an exception happens when streaming. | José Valim | 2011-05-01 | 4 | -3/+37 | |
| | | | ||||||
* | | | Add a test for rendering from the controller context. | José Valim | 2011-05-01 | 1 | -0/+54 | |
| | | | ||||||
* | | | Introduce view renderer. | José Valim | 2011-05-01 | 5 | -33/+37 | |
| | | | ||||||
* | | | Remove view dependency from AV::Renderer. | José Valim | 2011-05-01 | 7 | -74/+100 | |
| | | | ||||||
* | | | More cleanup and moving responsibilities around. | José Valim | 2011-05-01 | 9 | -112/+83 | |
| | | | ||||||
* | | | Remove more dependencies from the view. | José Valim | 2011-05-01 | 5 | -24/+21 | |
| | | | ||||||
* | | | Remove dependency from _template. | José Valim | 2011-05-01 | 7 | -25/+26 | |
| | | | ||||||
* | | | Start abstracting the renderer. | José Valim | 2011-05-01 | 9 | -280/+301 | |
| | | | ||||||
* | | | (temporary hack) generate a main file for RDoc escaping "Rails" | Xavier Noria | 2011-05-01 | 3 | -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/docrails | Xavier Noria | 2011-05-01 | 24 | -188/+221 | |
|\ \ \ | | | | | | | | | | | | | | | | | Conflicts: railties/guides/source/contributing_to_ruby_on_rails.textile | |||||
| * | | | Improved ActiveModel Observing docs. | Sebastian Martinez | 2011-04-30 | 1 | -2/+4 | |
| | | | | ||||||
| * | | | Removed so info about assigning to specific devs and adding tags. I don't ↵ | Mike Gehard | 2011-04-29 | 1 | -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 guide | Sebastian Martinez | 2011-04-29 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | Upload patches is for LH, we use pull requests on GitHub now | Sebastian Martinez | 2011-04-29 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | Merge branch 'master' of github.com:lifo/docrails | Dan Pickett | 2011-04-29 | 22 | -141/+185 | |
| |\ \ \ | ||||||
| | * \ \ | Merged pull request #40 from bytesource/master. | Stefan Rohlfing | 2011-04-28 | 1 | -2/+2 | |
| | |\ \ \ | | | | | | | | | | | | | Rails Routing from the Outside In (routing.textile): Fixed Regex | |||||
| | | * | | | Edited railties/guides/source/routing.textile via GitHub | Stefan Rohlfing | 2011-04-28 | 1 | -2/+2 | |
| | |/ / / | ||||||
| | * | | | document the reorder method(fb215110401c70cfc7013c6e2ad5753fa4e374e9) | Vijay Dev | 2011-04-28 | 1 | -4/+31 | |
| | | | | | ||||||
| | * | | | update the Array#from behaviour changes - returns [] if index exceeds array ↵ | Vijay Dev | 2011-04-27 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | length | |||||
| | * | | | minor changes | Vijay Dev | 2011-04-27 | 2 | -6/+4 | |
| | | | | | ||||||
| | * | | | Rephrased Dirty#changed? docs | Sebastian Martinez | 2011-04-26 | 1 | -1/+1 | |
| | | | | | ||||||
| | * | | | Removed extra whitespace | Sebastian Martinez | 2011-04-26 | 1 | -1/+1 | |
| | | | | | ||||||
| | * | | | Better formatting on ActiveModel::Translation | Sebastian Martinez | 2011-04-26 | 1 | -2/+2 | |
| | | | | | ||||||
| | * | | | added the list of reversible commands in the newer migrations | Vijay Dev | 2011-04-26 | 1 | -2/+6 | |
| | | | | | ||||||
| | * | | | minor changes in migrations guide | Vijay Dev | 2011-04-26 | 1 | -7/+5 | |
| | | | | | ||||||
| | * | | | Change from `self.(up|down)` to `(up|down)` method | Prem Sichanugrist | 2011-04-26 | 2 | -9/+9 | |
| | | | | | ||||||
| | * | | | Update guide to use `change` method in various places after migration ↵ | Prem Sichanugrist | 2011-04-26 | 3 | -74/+48 | |
| | | | | | | | | | | | | | | | | | | | | generator has changed. | |||||
| | * | | | Change examples in guide to reflect changes from XML -> JSON | Prem Sichanugrist | 2011-04-26 | 2 | -10/+10 | |
| | | | | | ||||||
| | * | | | Better formatting here | Sebastian Martinez | 2011-04-24 | 1 | -3/+3 | |
| | | | | | ||||||
| | * | | | indentation fixes | Vijay Dev | 2011-04-24 | 1 | -7/+7 | |
| | | | | | ||||||
| | * | | | document HTML::Selector's :has(string) pseudo class | misfo | 2011-04-23 | 1 | -0/+2 | |
| | | | | |