Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove last TODO. | José Valim | 2009-07-29 | 4 | -8/+3 |
| | | | | Signed-off-by: Yehuda Katz <wycats@gmail.com> | ||||
* | Add a couple more tests to respond_with. | José Valim | 2009-07-29 | 2 | -11/+46 |
| | | | | Signed-off-by: Yehuda Katz <wycats@gmail.com> | ||||
* | Added respond_with. | José Valim | 2009-07-29 | 3 | -27/+209 |
| | | | | Signed-off-by: Yehuda Katz <wycats@gmail.com> | ||||
* | Added tests for respond_to class method. | José Valim | 2009-07-29 | 6 | -3/+73 |
| | | | | Signed-off-by: Yehuda Katz <wycats@gmail.com> | ||||
* | Ensure that the proper accept header value is set during tests. | José Valim | 2009-07-29 | 2 | -30/+30 |
| | | | | Signed-off-by: Yehuda Katz <wycats@gmail.com> | ||||
* | Improve request test coverage by adding formats and negotiate_mime tests. | José Valim | 2009-07-29 | 1 | -0/+39 |
| | | | | Signed-off-by: Yehuda Katz <wycats@gmail.com> | ||||
* | Remove Mime::ALL from Mime::SET. | José Valim | 2009-07-29 | 2 | -2/+5 |
| | | | | Signed-off-by: Yehuda Katz <wycats@gmail.com> | ||||
* | Refactor even more Responder. Move mime negotiation to request and added ↵ | José Valim | 2009-07-29 | 3 | -69/+145 |
| | | | | | | respond_to class method. Signed-off-by: Yehuda Katz <wycats@gmail.com> | ||||
* | Refactor Responder to only calculate available mime types. Those are sent to ↵ | José Valim | 2009-07-29 | 2 | -61/+74 |
| | | | | | | the controller that knows what to do with it (render a block or call default render). Signed-off-by: Yehuda Katz <wycats@gmail.com> | ||||
* | Add support for error_messages_for(@obj) | Yehuda Katz | 2009-07-28 | 4 | -9/+41 |
| | |||||
* | Ignore everything under test/fixtures/public/absolute | Pratik Naik | 2009-07-27 | 1 | -1/+1 |
| | |||||
* | Merge docrails | Pratik Naik | 2009-07-25 | 66 | -607/+1765 |
| | |||||
* | make pass through error code configurable [#2817 state:resolved] | John Duff | 2009-07-22 | 4 | -5/+41 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Dasherize XML root by default to avoid invalid tags ↵ | Joshua Peek | 2009-07-22 | 3 | -1/+16 |
| | | | | "<admin/posts>...</admin/posts>" [#2875 state:resolved] | ||||
* | Patch to ActiveModel's (and ActiveRecord, by association) XML serialization: ↵ | John Maxwell | 2009-07-22 | 4 | -1/+38 |
| | | | | | | If two parameters are present in Procs supplied to to_xml's :procs option, the model being serialized will be passed as the second argument [#2373 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Ruby 1.9.2 compat: name method was renamed to __name__ since MiniTest 1.4.x ↵ | Akira Matsuda | 2009-07-21 | 1 | -1/+2 |
| | | | | | | [#2922 state:resolved] Signed-off-by: Yehuda Katz <wycats@gmail.com> | ||||
* | Ruby 1.9.2 compat: Use File#expand_path for require path because "." will ↵ | Akira Matsuda | 2009-07-21 | 10 | -11/+11 |
| | | | | | | not be included in LOAD_PATH since Ruby 1.9.2 [#2921 state:resolved] Signed-off-by: Yehuda Katz <wycats@gmail.com> | ||||
* | Clean up validation example | Joshua Peek | 2009-07-21 | 1 | -15/+8 |
| | |||||
* | So you can require 'activemodel' | Joshua Peek | 2009-07-21 | 1 | -0/+1 |
| | |||||
* | AMo conversion helper | Joshua Peek | 2009-07-21 | 15 | -55/+53 |
| | |||||
* | Kill AMo Base | Joshua Peek | 2009-07-21 | 3 | -11/+5 |
| | |||||
* | Improve AMo observing docs | Joshua Peek | 2009-07-21 | 1 | -4/+73 |
| | |||||
* | Add wrap_with_notifications helper to AMo observing | Joshua Peek | 2009-07-20 | 5 | -13/+35 |
| | |||||
* | Kill AMo ivar attributes helper | Joshua Peek | 2009-07-20 | 7 | -58/+8 |
| | |||||
* | Vendor the bundler project | Yehuda Katz + Carl Lerche | 2009-07-20 | 19 | -0/+940 |
| | |||||
* | First effort at new Ajax helpers | Yehuda Katz | 2009-07-20 | 3 | -0/+184 |
| | |||||
* | Merge branch 'master' of git@github.com:rails/rails | Yehuda Katz | 2009-07-19 | 21 | -101/+268 |
|\ | |||||
| * | * don't include String#% for Ruby 1.9 | Sven Fuchs | 2009-07-18 | 2 | -78/+87 |
| | | | | | | | | | | | | | | | | | | | | * raise a KeyError exception for missing named interpolation args (like Ruby 1.9 does) * raise an ArgumentError when mixing named and unnamed placeholders (like Ruby 1.9 does) * improve docs and comply a bit more w/ Rails names/conventions [#2870 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
| * | Add primary_key option to belongs_to association | Szymon Nowak | 2009-07-15 | 14 | -16/+159 |
| | | | | | | | | | | | | [#765 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
| * | ActiveSupport Hash optimizations [#2902 state:resolved] | Lourens Naude | 2009-07-15 | 4 | -4/+8 |
| | | | | | | | | Signed-off-by: Carl Lerche <carllerche@mac.com> | ||||
| * | Use map! instead of map for <association>_ids | Pratik Naik | 2009-07-13 | 1 | -2/+2 |
| | | |||||
| * | Optimize <association>_ids for hm:t with belongs_to source | Pratik Naik | 2009-07-13 | 2 | -3/+14 |
| | | |||||
* | | Rename ActiveRecordHelper to ActiveModelHelper | Yehuda Katz | 2009-07-20 | 5 | -7/+5 |
| | | |||||
* | | Finish convert_to_object updates | Yehuda Katz | 2009-07-20 | 2 | -1/+9 |
| | | |||||
* | | Update some tests and add a to_model to form helpers | Yehuda Katz | 2009-07-20 | 7 | -11/+19 |
| | | |||||
* | | Define ActiveModel API Compliance | Yehuda Katz | 2009-07-20 | 17 | -32/+91 |
| | | | | | | | | | | | | - Define to_model on AR - Define to_model on ActiveModel::APICompliant - Update test fixtures to be API Compliant - Start using to_model in AP | ||||
* | | Add some simple examples for unconventional AMo and AP use | Yehuda Katz | 2009-07-19 | 5 | -0/+89 |
| | | |||||
* | | Move default_form_builder to ActionView so it'll work in environments not ↵ | Yehuda Katz | 2009-07-19 | 2 | -6/+18 |
| | | | | | | | | using ActionView::Base | ||||
* | | Separate ActionView::Context so something else can easily be made into an AV ↵ | Yehuda Katz | 2009-07-19 | 6 | -13/+49 |
| | | | | | | | | context | ||||
* | | Simplify required "ActionView compliant" API | Yehuda Katz | 2009-07-19 | 5 | -22/+17 |
| | | |||||
* | | Add some missing dependencies | Yehuda Katz | 2009-07-15 | 3 | -0/+4 |
| | | |||||
* | | Fix AbstractController::Layouts to work when included directly on a controller | Yehuda Katz | 2009-07-15 | 1 | -0/+1 |
| | | |||||
* | | Centralize commonly used parts of AS in ActionController into ↵ | Yehuda Katz | 2009-07-15 | 6 | -9/+15 |
| | | | | | | | | action_controller.rb | ||||
* | | Rename method to a more obvious name | Yehuda Katz | 2009-07-11 | 2 | -4/+4 |
|/ | |||||
* | Add observing hooks to ARes | Joshua Peek | 2009-07-11 | 2 | -2/+62 |
| | |||||
* | Integrate AMo XML serializer into AR | Joshua Peek | 2009-07-11 | 2 | -131/+31 |
| | |||||
* | Switch scaffolding templates to HTML 5 doctype | Joshua Peek | 2009-07-10 | 6 | -89/+80 |
| | |||||
* | Make it so AR attributes which conflict with object-private methods (e.g. ↵ | Sam Goldstein | 2009-07-09 | 2 | -4/+25 |
| | | | | | | | | | system) don't 'randomly' cause NoMethodErrors Previously if you called this attribute before others, you'd get exceptions. But if it was the second-or-subsequent attribute you retrieved you'd get the correct behaviour. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#2808 state:committed] | ||||
* | Use the i18n gem if present instead of vendor code. [#2871 state:resolved] | Lawrence Pit | 2009-07-07 | 1 | -5/+4 |
| | | | | Signed-off-by: Yehuda Katz <wycats@gmail.com> | ||||
* | Ruby 1.9 style String interpolation support for lower ruby versions. Thanks ↵ | Lawrence Pit | 2009-07-07 | 3 | -0/+150 |
| | | | | | | to code from Masao Mutoh's GetText gem. [#2870 state:resolved] Signed-off-by: Yehuda Katz <wycats@yehuda-katzs-macbookpro41.local> |