aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Don't add DEFAULT_TOKENIZER to every instance of LengthValidator. Just use ↵Akira Matsuda2011-05-161-2/+2
| | | | it only when needed.
* Merge pull request #573 from smartinez87/attrJosé Valim2011-05-151-0/+3
|\ | | | | Add doc to #attribute_names
| * Add doc to #attribute_namesSebastian Martinez2011-05-151-0/+3
|/
* Merge pull request #570 from sikachu/decouple_actionpackJosé Valim2011-05-156-14/+35
|\ | | | | Make ParamsWrapper use a well-defined API and not rely on AR methods
| * Make ParamsWrapper calling newly introduced `Model.attribute_names` instead ↵Prem Sichanugrist2011-05-153-14/+12
| | | | | | | | of `.column_names`
| * Add ActiveRecord::attribute_names to retrieve a list of attribute names. ↵Prem Sichanugrist2011-05-153-0/+23
| | | | | | | | This method will also return an empty array on an abstract class or a model that the table doesn't exists.
* | Merge pull request #568 from carlosantoniodasilva/fields_for_fixesJosé Valim2011-05-152-36/+40
|\ \ | |/ |/| Fields for fixes for non nested attributes and without object
| * Use record_name to make fields for methods more consistentCarlos Antonio da Silva2011-05-141-6/+6
| |
| * Refactor fields_for to make the api more clear, and fix usage with non ↵Carlos Antonio da Silva2011-05-142-26/+33
| | | | | | | | nested attributes and without object
| * Cleanup instantiate builder method definitionCarlos Antonio da Silva2011-05-141-5/+2
| |
* | Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-05-152-8/+8
|\ \
| * | Use more English languagePirogov Evgenij2011-05-151-4/+4
| | |
| * | Fixing Changelog linkGuillermo Iguaran2011-05-151-1/+1
| | |
| * | Clean up redundant backslashesPirogov Evgenij2011-05-141-4/+4
| | |
* | | reviewed the first ~70 lines of the configuration guideXavier Noria2011-05-151-20/+21
| | |
* | | Merge pull request #564 from sikachu/fix_wrapperAaron Patterson2011-05-142-2/+15
|\ \ \ | |_|/ |/| | Do not try to call `column_names` on the abstract class.
| * | Do not try to call `column_names` on the abstract class.Prem Sichanugrist2011-05-152-2/+15
|/ / | | | | Normally the table for abstract class won't be existed, so we should not trying to call `#column_names` on it.
* | These extra array operations appear to be unnecessary. Reasoning:Jon Leighton2011-05-141-8/+2
| | | | | | | | | | * It is not necessary to subtract 'id' from the list of copied attributes because record and mem_record are equal, so therefore their id attributes are also equal (so there is no harm in copying it, and this reduces the complexity of the code) * It is not necessary to intersect the attribute names, since record and mem_record are equal, so they have the same id and class, so they have the same columns in the database. If record has non-column attributes then it seems reasonable to also copy them onto mem_record (though I am not sure what situation this would ever happen in)
* | CollectionAssociation#merge_target_lists should write to the underlying ↵Jon Leighton2011-05-144-5/+17
| | | | | | | | attributes when copying, rather than using the assignment method
* | An attempt to make CollectionAssociation#merge_target_lists make more sense.Jon Leighton2011-05-141-16/+35
| |
* | Added some docs to controller runtime.José Valim2011-05-141-1/+4
| |
* | Merge pull request #554 from ↵José Valim2011-05-142-1/+19
|\ \ | |/ |/| | | | | tomafro/reset-activerecord-runtime-before-each-request ActiveRecord::LogSubscriber.runtime should be reset at the start of each request
| * Reset ActiveRecord::LogSubscriber runtime at the start of each requestTom Ward2011-05-142-0/+18
| | | | | | | | Previously the runtime was reset implicitly when #cleanup_view_runtime was called at the end of most requests. However, this doesn't happen when the request redirects, or send_file is called. Consequently, the ActiveRecord runtime recorded in the logs included the time taken for both the current request and the previous redirect. Explicitly resetting at the start of each request ensures that this can't happen, no matter what occurs previously.
| * Escape regex in controller_runtime_test to actually check that the ↵Tom Ward2011-05-141-1/+1
|/ | | | ActiveRecord message appears
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-05-1442-220/+319
|\ | | | | | | | | | | Conflicts: actionpack/lib/action_view/helpers/date_helper.rb railties/lib/rails/generators/rails/app/templates/config/initializers/wrap_parameters.rb.tt
| * minor edits after going through what's new in docrailsXavier Noria2011-05-143-10/+13
| |
| * [GUIDES] Changed the `LANGUAGE` variable to `GUIDES_LANGUAGE` to minimize ↵Karel Minarik2011-05-141-4/+5
| | | | | | | | conflicts with regular environment variables (eg. in Ubuntu)
| * minor correctionsVijay Dev2011-05-141-5/+5
| |
| * Link the API documentation to non-edge insteadPrem Sichanugrist2011-05-131-1/+1
| |
| * Adding guide for wrapping JSON/XML parameters, which also links to the API ↵Prem Sichanugrist2011-05-131-0/+26
| | | | | | | | | | documentation. Note that it currently links to http://edgeapi.rubyonrails.org because it's Rails 3.1 feature.
| * Prefer topic branches instead of master branch for users contributionsGuillermo Iguaran2011-05-121-5/+8
| |
| * added an example for AC::UrlFor usage to make usage simpler.Nick Sutterer2011-05-121-1/+13
| |
| * added docs for AbC::UrlFor and AC::UrlFor.Nick Sutterer2011-05-122-0/+12
| |
| * fix spellingsVijay Dev2011-05-112-2/+2
| |
| * indentation fixesVijay Dev2011-05-111-24/+23
| |
| * Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-05-1111-92/+98
| |\
| | * fix bad encoding on contributing to RoR pageDan Pickett2011-05-101-1/+1
| | |
| | * Follow code conventions on docsSebastian Martinez2011-05-105-13/+13
| | |
| | * Fix styiling issues on DateHelper docsSebastian Martinez2011-05-101-64/+70
| | |
| | * Fix styiling issues on AtomFeedHelper docsSebastian Martinez2011-05-101-4/+4
| | |
| | * Remove extra whitespace.Sebastian Martinez2011-05-101-1/+1
| | |
| | * Fix styiling issue on TranslationHelper docsSebastian Martinez2011-05-101-4/+4
| | |
| | * Fix styiling issue on ActionView::Template docsSebastian Martinez2011-05-101-5/+5
| | |
| * | minor fix in assets usageVijay Dev2011-05-101-2/+2
| |/
| * typo fixTrent Ogren2011-05-101-1/+1
| |
| * Explain the implication of using :ignore_date on time_selectAditya Sanghi2011-05-101-1/+2
| |
| * :touch => :symbol also updates the updated_at attributeBruno Michel2011-05-101-1/+1
| |
| * Missing an end in routing docsJames Miller2011-05-091-0/+1
| |
| * more fixed-fonts hereSebastian Martinez2011-05-091-23/+23
| |
| * added some fixed fontsSebastian Martinez2011-05-091-3/+3
| |