aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* consistencyJon Leighton2011-11-303-16/+16
|
* Don't check column type, you might implement a custom coder that serializes ↵Jon Leighton2011-11-301-1/+1
| | | | to a different type
* omg computer science!Jon Leighton2011-11-304-29/+47
| | | | | | | Implement a mini state machine for serialized attributes. This means we do not have to deserialize the values upon initialization, which means that if we never actually access the attribute, we never have to deserialize it.
* Fix typoJon Leighton2011-11-301-2/+2
|
* Don't need second paramJon Leighton2011-11-302-4/+4
|
* No longer need to undef id as we are defining it ourselvesJon Leighton2011-11-301-3/+0
|
* Move some serialization stuff out of BaseJon Leighton2011-11-302-40/+42
|
* Extract attribute serialization code into a separate moduleJon Leighton2011-11-304-28/+49
|
* Use inheritance to avoid special-case code for the 'id' methodJon Leighton2011-11-304-9/+21
|
* #id is an alias for whatever the primary key isJon Leighton2011-11-301-1/+1
|
* fix indentJon Leighton2011-11-301-3/+3
|
* expand on pluck docsVijay Dev2011-12-011-3/+18
|
* minor typo fixVijay Dev2011-12-012-2/+2
|
* s/is is/isVijay Dev2011-12-011-1/+1
|
* Merge pull request #3816 from lest/exception-page-utf-8Yehuda Katz2011-11-302-12/+35
|\ | | | | fix exception page when template contains utf-8 and parameters contain utf-8
| * fix exception page when template contains utf-8 and parameters contain utf-8lest2011-11-302-12/+35
| |
* | Merge pull request #3786 from nashby/add-namespace-to-formVijay Dev2011-11-301-1/+1
|\ \ | | | | | | update guides for the namespace option in form helpers
| * | update guidesVasiliy Ermolovich2011-11-281-1/+1
| | |
* | | fix bad nodocsVijay Dev2011-12-011-11/+21
| |/ |/|
* | switch WatchStack to use composition, tighten up APIAaron Patterson2011-11-301-6/+13
| |
* | 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.