aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [docs] removed last-modifed line from examplesRichard Hulse2011-12-021-8/+0
| | | | | | | This is no longer best-practice. ref: http://stackoverflow.com/questions/8344186/rails-3-1-on-apache-pagespeed-says-specify-cache-validator-when-using-asset-p/8348385#8348385
* fixed finger-dyslexia in active_support core extensions guideTim Sjoberg2011-12-011-1/+1
|
* typo in the performance testing rails guideLeandro Santos2011-11-301-1/+1
|
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-11-309-14/+21
|\
| * Fixing incorrect documentation Aviv Ben-Yosef2011-11-301-2/+2
| | | | | | `path_names` can only be used for affecting `new` and `edit`
| * Fix ActionDispatch::Request method explanationsTravis Pew2011-11-281-5/+5
| | | | | | | | | | | | | | | | The methods, "post?", "put?", "head?", etc. contain an incorrect explanation. They state that they are equivalent to request_method == :type, but this is not accurate because the methods convert the string to a symbol. They are actually equivalent to: request_method_symbol == :type
| * there is no need to repeat about possibility of using -h option to get full helpSergey Parizhskiy2011-11-281-1/+1
| |
| * Merge branch 'master' of github.com:lifo/docrailsSergey Parizhskiy2011-11-28159-1812/+2855
| |\
| | * Update information about foreign key plugins support in the guidesRodrigo Rosenfeld Rosas2011-11-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is not "a number" of up-to-date maintained plugins for dealing with foreign keys. The foreign_key_migrations does not have any update since 2009 and is also about to be removed: Extracted from http://www.harukizaemon.com/2009/09/plugins-grab-em-while-theyre-stale.html, referenced in the plugin reference of the old guide version: "And so it is that I will very shortly (within the next month) delete most of the plugins from my GitHub account (harukizaemon)"
| | * Revert "fixed typo in getting started form_for for comments"Arun Agrawal2011-11-281-1/+1
| | | | | | | | | | | | | | | | | | This reverts commit 2f428a6245a18017c7942f8fef3da4a85bec8cc5. See comments here 2f428a6245a18017c7942f8fef3da4a85bec8cc5
| | * fixed typo in getting started form_for for commentsTim Reischmann2011-11-281-1/+1
| | |
| | * Update Object#in? description for https://github.com/rails/rails/pull/3767Tadas Tamošauskas2011-11-271-1/+3
| | |
| | * [Docs] Adding RequestId middleware in configuring middlewareArun Agrawal2011-11-271-0/+1
| | |
| | * Documentation about config.log_level config optionsArun Agrawal2011-11-271-0/+2
| | |
| | * Cosmetic fixes in AM validatations docsAlexey Vakhov2011-11-272-4/+4
| | |
| | * Let's say this 3.1.3 instead of 3.1.1 in docsArun Agrawal2011-11-261-1/+1
| | |
| * | completed documentation for the rails server commandSergey Parizhskiy2011-11-281-0/+2
| | |
* | | Revert "Implement ArraySerializer and move old serialization API to a new ↵José Valim2011-11-3016-734/+431
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | namespace." This reverts commit 8896b4fdc8a543157cdf4dfc378607ebf6c10ab0. Conflicts: activemodel/lib/active_model.rb activemodel/lib/active_model/serializable.rb activemodel/lib/active_model/serializer.rb activemodel/test/cases/serializer_test.rb
* | | Revert "avoid hundreds of thousands of calls to (Symbol|String)#to_s"Aaron Patterson2011-11-301-2/+2
| | | | | | | | | | | | | | | Test coverage isn't comprehensive enough to catch what this breaks. :( This reverts commit 45dad592e47944704ab6951351b2fa29d4a2385f.
* | | avoid hundreds of thousands of calls to (Symbol|String)#to_sAaron Patterson2011-11-301-2/+2
| | |
* | | `run_test` method conflicts with newer minitest, so change the nameAaron Patterson2011-11-301-5/+5
| | |
* | | Using InstanceMethods in a Concern is deprecatedJeremy Kemper2011-11-301-10/+6
| | |
* | | Merge pull request #3810 from lest/fix-warningsJosé Valim2011-11-307-40/+35
|\ \ \ | | | | | | | | fix method redefined warnings in tests
| * | | fix method redefined warning in activemodellest2011-11-302-1/+5
| | | |
| * | | fix deprecation warnings in activeresourcelest2011-11-302-27/+25
| | | |
| * | | fix method redefined warnings in testslest2011-11-303-12/+5
|/ / /
* | | Merge pull request #3809 from lest/test-helpers-in-erbJosé Valim2011-11-301-0/+2
|\ \ \ | | | | | | | | fix warning in tests when using render_erb helper
| * | | fix warning in tests when using render_erb helperlest2011-11-301-0/+2
| | | |
* | | | Merge pull request #3806 from lest/test-helpers-in-erbJosé Valim2011-11-306-17/+31
|\| | | | | | | | | | | Test helpers in erb using erb
| * | | test helpers in erb using erblest2011-11-306-17/+31
|/ / /
* | | Merge pull request #1915 from bogdan/active_record_mapJon Leighton2011-11-306-2/+62
|\ \ \ | | | | | | | | ActiveRecord::Base.map method for direct select by single column
| * | | ActiveRecord::Relation#pluck methodBogdan Gusiev2011-11-306-2/+62
| | | |
* | | | Log 'Filter chain halted as CALLBACKNAME rendered or redirected' every time ↵José Valim2011-11-307-8/+50
| | | | | | | | | | | | | | | | a before callback halts.
* | | | Update sprockets which theoretically fixes the regression we have seen.José Valim2011-11-301-1/+1
| | | |
* | | | Fixes for using action view template in isolation.José Valim2011-11-303-2/+12
|/ / /
* | | Module#synchronize is deprecated with no replacement. Please use `monitor` ↵Aaron Patterson2011-11-293-89/+5
| | | | | | | | | | | | from ruby's standard library.
* | | push synchronization in to each method. Reduces method calls and makesAaron Patterson2011-11-291-25/+29
| | | | | | | | | | | | it clear which methods are synchronized.
* | | Automatic closure of connections in threads is deprecated. For exampleAaron Patterson2011-11-294-27/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the following code is deprecated: Thread.new { Post.find(1) }.join It should be changed to close the database connection at the end of the thread: Thread.new { Post.find(1) Post.connection.close }.join Only people who spawn threads in their application code need to worry about this change.
* | | AbstractAdapter#close can be called to add the connection back to theAaron Patterson2011-11-293-11/+35
| | | | | | | | | | | | pool.
* | | Start implementing @reserved_connections in terms of connection leases.Aaron Patterson2011-11-291-3/+3
| | |
* | | Rename `checked_out` to more descriptive `active_connections`Aaron Patterson2011-11-291-3/+3
| | |
* | | Use connection lease to determine "checked_out" connectionsAaron Patterson2011-11-291-17/+21
| | |
* | | expire will set in_use to falseAaron Patterson2011-11-292-0/+12
| | |
* | | last_use is set on connection leaseAaron Patterson2011-11-291-0/+6
| | |
* | | Leased connections return false on second leaseAaron Patterson2011-11-292-4/+15
| | |
* | | Adapters keep in_use flag when leasedAaron Patterson2011-11-292-1/+30
| | |
* | | namespace the adapter testAaron Patterson2011-11-291-121/+123
| | |
* | | Fix ruby 1.8 compat. const_defined? only takes a second arg on 1.9.Jon Leighton2011-11-291-3/+4
| | |
* | | Deprecated `define_attr_method` in `ActiveModel::AttributeMethods`Jon Leighton2011-11-296-66/+60
| | | | | | | | | | | | | | | This only existed to support methods like `set_table_name` in Active Record, which are themselves being deprecated.
* | | Deprecate set_locking_column in favour of self.locking_column=Jon Leighton2011-11-294-10/+56
| | |