Joshua Peek
|
e129c5673a
|
Wrap up attribute method reset concerns in 'undefine_attribute_methods'
|
2009-07-30 17:54:00 -05:00 |
|
Joshua Peek
|
586baf8ffe
|
read_attribute is always available through attribute
|
2009-07-30 17:54:00 -05:00 |
|
Joshua Peek
|
bd07c5ca8e
|
cache_attributes is related to attribute reading
|
2009-07-30 17:54:00 -05:00 |
|
Joshua Peek
|
94dabf9b4b
|
Generate methods for all suffixes
|
2009-07-30 17:54:00 -05:00 |
|
Joshua Peek
|
c2b075bed0
|
Concernify AR AttributeMethods
|
2009-07-30 17:53:59 -05:00 |
|
Yehuda Katz
|
2c2ca833a5
|
Removed default_internal, which was preventing round-tripping of some encodings.
|
2009-07-30 09:55:17 -07:00 |
|
Pratik Naik
|
83537bf090
|
Generator config should be commented by default
|
2009-07-30 17:49:48 +01:00 |
|
Pratik Naik
|
61d995f7ed
|
Remove whitespaces from the default mailer file
|
2009-07-30 17:49:48 +01:00 |
|
Marc Love
|
d860c89170
|
Fix tag helpers so that all HTML element boolean attributes render according to the specs. Added all boolean attributes listed in the XHTML 1.0 specs (http://www.w3.org/TR/xhtml1/guidelines.html) and HTML 5 specs (http://www.whatwg.org/specs/web-apps/current-work). HTML 5 boolean attribute rendering was broken in commit 1e2d722960 / [#2864 state:resolved].
Signed-off-by: Yehuda Katz <wycats@gmail.com>
|
2009-07-30 09:48:27 -07:00 |
|
Jeremy Kemper
|
d83b182857
|
Revert "Methods invoked within named scope Procs should respect the scope stack. [#1267 state:resolved]"
This reverts commit 6a13376525.
Conflicts:
activerecord/test/cases/named_scope_test.rb
|
2009-07-29 16:54:54 -07:00 |
|
José Valim
|
e566fc0577
|
Merge branch 'master' of git://github.com/rails/rails
|
2009-07-29 21:22:56 +02:00 |
|
José Valim
|
d209aea7d8
|
Remove last TODO.
Signed-off-by: Yehuda Katz <wycats@gmail.com>
|
2009-07-29 12:06:04 -07:00 |
|
José Valim
|
fa0cf663fe
|
Add a couple more tests to respond_with.
Signed-off-by: Yehuda Katz <wycats@gmail.com>
|
2009-07-29 12:06:03 -07:00 |
|
José Valim
|
09de34ca56
|
Added respond_with.
Signed-off-by: Yehuda Katz <wycats@gmail.com>
|
2009-07-29 12:06:03 -07:00 |
|
José Valim
|
bbe86077c2
|
Added tests for respond_to class method.
Signed-off-by: Yehuda Katz <wycats@gmail.com>
|
2009-07-29 12:06:03 -07:00 |
|
José Valim
|
67b2d08c0a
|
Ensure that the proper accept header value is set during tests.
Signed-off-by: Yehuda Katz <wycats@gmail.com>
|
2009-07-29 12:06:03 -07:00 |
|
José Valim
|
b51632d34d
|
Improve request test coverage by adding formats and negotiate_mime tests.
Signed-off-by: Yehuda Katz <wycats@gmail.com>
|
2009-07-29 12:06:02 -07:00 |
|
José Valim
|
7e280c3bff
|
Remove Mime::ALL from Mime::SET.
Signed-off-by: Yehuda Katz <wycats@gmail.com>
|
2009-07-29 12:06:02 -07:00 |
|
José Valim
|
3e8ba616ef
|
Refactor even more Responder. Move mime negotiation to request and added respond_to class method.
Signed-off-by: Yehuda Katz <wycats@gmail.com>
|
2009-07-29 12:06:02 -07:00 |
|
José Valim
|
3f445b316d
|
Refactor Responder to only calculate available mime types. Those are sent to the controller that knows what to do with it (render a block or call default render).
Signed-off-by: Yehuda Katz <wycats@gmail.com>
|
2009-07-29 12:06:02 -07:00 |
|
Yehuda Katz
|
c4d1075bd3
|
Add support for error_messages_for(@obj)
|
2009-07-28 19:06:14 -07:00 |
|
José Valim
|
7d56fd9f08
|
Always use application generator to run templates.
|
2009-07-28 16:21:30 +02:00 |
|
José Valim
|
d9aae2b56e
|
Merge branch 'master' of git://github.com/rails/rails
|
2009-07-28 09:00:33 +02:00 |
|
José Valim
|
5025ae610f
|
Ensure that not namespaced generators also load RAILS_ROOT/lib/templates files.
|
2009-07-28 08:51:57 +02:00 |
|
José Valim
|
419ca7a747
|
Ensure that developers options are overwritten by user options.
|
2009-07-28 08:48:21 +02:00 |
|
Pratik Naik
|
9533e0eca7
|
Ignore everything under test/fixtures/public/absolute
|
2009-07-27 17:21:52 +01:00 |
|
José Valim
|
67c2f53938
|
Allow templates for non namespaced generators too.
|
2009-07-25 21:14:43 +02:00 |
|
Pratik Naik
|
e033b5d037
|
Merge docrails
|
2009-07-25 16:03:58 +01:00 |
|
José Valim
|
edd07b5a7a
|
Updated vendored thor to 0.11.3.
|
2009-07-23 14:30:49 +02:00 |
|
José Valim
|
178044dbd2
|
Do not try to use thor gem.
|
2009-07-23 07:33:54 +02:00 |
|
John Duff
|
0c68d23f19
|
make pass through error code configurable [#2817 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2009-07-22 22:21:06 -05:00 |
|
Joshua Peek
|
272c504f91
|
Dasherize XML root by default to avoid invalid tags "<admin/posts>...</admin/posts>" [#2875 state:resolved]
|
2009-07-22 21:06:34 -05:00 |
|
John Maxwell
|
c39151a847
|
Patch to ActiveModel's (and ActiveRecord, by association) XML serialization: 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>
|
2009-07-22 20:47:15 -05:00 |
|
José Valim
|
33048b6e27
|
Solving merge conflicts.
|
2009-07-21 12:51:53 +02:00 |
|
José Valim
|
edda0bfe76
|
Allow nested and multiple fallbacks for generators.
|
2009-07-21 12:16:25 +02:00 |
|
José Valim
|
10fd021789
|
Change attributes default type to array to allow order to be preserved.
|
2009-07-21 12:00:02 +02:00 |
|
José Valim
|
c90419d4f4
|
Update db:sessions:create to use the proper generator.
|
2009-07-21 11:28:54 +02:00 |
|
Akira Matsuda
|
9d7aae7103
|
Ruby 1.9.2 compat: name method was renamed to __name__ since MiniTest 1.4.x [#2922 state:resolved]
Signed-off-by: Yehuda Katz <wycats@gmail.com>
|
2009-07-21 01:15:51 -07:00 |
|
Akira Matsuda
|
9163b9ac9d
|
Ruby 1.9.2 compat: Use File#expand_path for require path because "." will not be included in LOAD_PATH since Ruby 1.9.2 [#2921 state:resolved]
Signed-off-by: Yehuda Katz <wycats@gmail.com>
|
2009-07-21 00:09:39 -07:00 |
|
Joshua Peek
|
108545a9d6
|
Clean up validation example
|
2009-07-21 00:56:27 -05:00 |
|
Joshua Peek
|
574323df62
|
So you can require 'activemodel'
|
2009-07-21 00:52:50 -05:00 |
|
Joshua Peek
|
92c00d7586
|
AMo conversion helper
|
2009-07-21 00:51:57 -05:00 |
|
Joshua Peek
|
6944b391cd
|
Kill AMo Base
|
2009-07-21 00:13:26 -05:00 |
|
Joshua Peek
|
48bc39e03a
|
Improve AMo observing docs
|
2009-07-21 00:11:26 -05:00 |
|
Joshua Peek
|
7c84bbf160
|
Add wrap_with_notifications helper to AMo observing
|
2009-07-20 23:57:01 -05:00 |
|
Joshua Peek
|
2685d93b07
|
Kill AMo ivar attributes helper
|
2009-07-20 23:28:58 -05:00 |
|
Yehuda Katz + Carl Lerche
|
e7a2496fda
|
Vendor the bundler project
|
2009-07-20 18:03:38 -07:00 |
|
Yehuda Katz
|
d80316ad32
|
First effort at new Ajax helpers
|
2009-07-20 16:13:21 -07:00 |
|
Yehuda Katz
|
37658f15bb
|
Merge branch 'master' of git@github.com:rails/rails
|
2009-07-19 13:21:17 -07:00 |
|
Yehuda Katz
|
f2f5cdc8bc
|
Rename ActiveRecordHelper to ActiveModelHelper
|
2009-07-20 01:30:49 +09:00 |
|