Commit Graph

9820 Commits

Author SHA1 Message Date
Pratik Naik
652ecd3bfa Fix year in ARes license 2009-01-18 17:47:12 +00:00
Pratik Naik
aeafccf0ca Merge commit 'mainstream/master' 2009-01-18 17:45:39 +00:00
Xavier Noria
e35e5ed2a4 quoted a couple of strings 2009-01-18 14:40:40 +01:00
Xavier Noria
01337e06dd in depth revision of AssetTagHelper rdoc 2009-01-18 14:30:34 +01:00
George Ogata
dad45fa21b Add missing validates_numericality_of message names to i18n guide. 2009-01-18 17:50:56 +11:00
Pratik Naik
085991891e Bump up the year in MIT license files 2009-01-18 05:28:21 +00:00
Pratik Naik
41af606db3 Remove script/performance/profiler in favour of performance integration tests.
To continue using script/performance/profiler, install the request_profiler plugin :

  script/plugin install git://github.com/rails/request_profiler.git
2009-01-18 05:20:39 +00:00
Jose' Valim
c2e7851fb2 Add ActionMailer::Base#enable_starttls_auto option for enabling/disabling STARTTLS. [#1731 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-01-18 04:19:18 +00:00
Joshua Peek
ff0a2678c4 Build query string and POST params parser on top of Rack::Request. Also switch our multipart parser to use Racks. Moved XML, JSON, and YAML parsers into ActionController::ParamsParser middleware [#1661 state:resolved] 2009-01-17 20:29:50 -06:00
Joshua Peek
aab760c3df Add test coverage for fixing Safari 2 trailing null character 2009-01-17 20:03:22 -06:00
Josh Susser
78f2c19ae7 Refactor Object#try to use inheritance. [#1774 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-01-18 00:47:38 +00:00
Pratik Naik
3b1cd9e525 Fix has_and_belongs_to_many_associations tests. #1738 2009-01-18 00:34:57 +00:00
Pratik Naik
69022dfd7b Add links to lighthouse ticket for i18n guide 2009-01-18 00:31:42 +00:00
Pratik Naik
56152d8f60 Regenerate guides 2009-01-18 00:18:02 +00:00
Karel Minarik
4059f0477d Add rake task for generating a subset of guides
rake guides ONLY='migrations i18n'

Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-01-18 00:07:07 +00:00
Lourens Naude
b08c968875 Decouple the local cache strategy from MemCacheStore for reuse with other remote stores [#1653 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
2009-01-17 18:05:48 -06:00
Ahmed El-Daly
fe01a13ac5 First go at the Action Mailer guide 2009-01-17 16:35:04 -05:00
Karel Minarik
4dd764207c Clarifications and additions to the introduction part of Internationalization (I18n) guide 2009-01-17 19:12:13 +01:00
Pratik Naik
3ad392f6f9 Add command line to index and minor change in finders guide 2009-01-17 17:31:23 +00:00
Joshua Peek
29e7a02428 Ensure any method sent to RewindableIO reads the original IO object [#1767 state:resolved] 2009-01-17 11:12:18 -06:00
Joshua Peek
515a1a3328 Lock middleware has been committed upstream 2009-01-17 10:16:31 -06:00
Pratik Naik
e3fd533d03 Revert "Updated readme to include instructions on which dependencies to install before building guides."
This reverts commit ef3672ddda.
2009-01-17 16:11:27 +00:00
lukeludwig
3ee4e00918 Cache columns for has_and_belongs_to_many associations
This avoids repeatedly calling SHOW COLUMNS when the association is queried
[#1738 state:committed]
2009-01-17 18:09:13 +13:00
Jeremy Kemper
fe013ce934 Fix performance regression 2009-01-16 20:36:59 -08:00
Jeremy Kemper
78af271069 Skip respond_to check so rack.input doesn't have to implement it 2009-01-16 20:36:59 -08:00
Xavier Noria
20e57c0276 removed colons from an Options header 2009-01-17 03:22:19 +01:00
Xavier Noria
deeec990ce removed colons from a few Example headers 2009-01-17 03:20:58 +01:00
Xavier Noria
bb0db1a7cb reworded docs of AssetTagHelper, Mike helped here 2009-01-17 03:12:54 +01:00
Mike Gunderloy
1e02d95d60 Make ActioMailer quoting test play nice with Ruby 1.9 [#1726 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-01-16 17:25:37 +00:00
Josh
7260852187 Fix date_select within fields_for with an index [#1666 state:resolved] [Josh, Frederick Cheung]
Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com>
2009-01-16 17:23:43 +00:00
Brandon Keepers
452cd74d81 Dup keys in OrderedHash to prevent them from being modified [#1676 state:resolved]
Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com>
2009-01-16 17:23:43 +00:00
Carlos Kozuszko
5ed119c005 Fix dirty handling of nullable non-integer numeric columns [#1692 state:resolved]
Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com>
2009-01-16 17:23:35 +00:00
Ben VandenBos
0e92f67073 Make belongs_to :dependent => :destroy destroy self before associated object [#1079 state:resolved]
If foreign key constraints are in place then deleteing the associated object first will cause a foreign key violation

Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com>
2009-01-16 17:23:19 +00:00
Michael Koziarski
f2ee3f20df Fix the AR json serialization tests to comply with the earlier change to quote keys correctly 2009-01-16 17:57:45 +13:00
Michael Koziarski
0bed5bdb21 Properly quote json keys.
According to the RFC and the json.org site all json keys must be strings, and those strings must be quoted with double quotes.
[#1755 state:committed]
2009-01-16 17:40:04 +13:00
Pratik Naik
ea21b23b92 * Tabs -> Spaces in guides templates
* Move inline css to a file
2009-01-16 04:34:34 +00:00
Pratik Naik
7d2e3ef315 Remove version info 2009-01-16 04:19:44 +00:00
Nahum Wild
a53ad5bba3 Added in a local per request cache to MemCacheStore. It acts as a buffer to stop unneccessary requests being sent through to memcache [#1653 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
2009-01-15 21:29:32 -06:00
Andrew White
1da087ba53 Update route globbing documentation in routing guide 2009-01-15 23:36:33 +00:00
Andrew White
4cbf55344d Update route globbing documention in RDoc 2009-01-15 23:34:25 +00:00
Michael Lovitt
7a0e7c7270 Fixed broken after_save callback; was being called when before_create was canceled or before_update was canceled
Signed-off-by: Michael Koziarski <michael@koziarski.com>
[#1735 state:committed]
2009-01-16 10:11:58 +13:00
Carlos Kozuszko
c891d685de Fixing bug on ActiveRecord::Dirty#field_changed? for nullable numeric columns, NULL gets stored in database for blank (i.e. '') values. Only integer columns were considered.
Signed-off-by: Michael Koziarski <michael@koziarski.com>
[#1692 state:committed]
2009-01-16 10:00:39 +13:00
Cody Fauser
b8907d2e6e Use :secure key in session_options example instead of :session_secure 2009-01-15 06:56:08 -05:00
CassioMarques
51460808cd Small modifications in the text of the section about using the errors collection in the view, fixed a typo at the validates_numericality_of section 2009-01-15 00:50:47 -02:00
CassioMarques
301b2fefaa Fixing mistake in code example with validates_numericality_of and :only_integer option 2009-01-15 00:15:02 -02:00
CassioMarques
9cc7a1e04d Adding options for validates_numericality_of, adding author name with link at the end of the page 2009-01-14 23:51:07 -02:00
CassioMarques
baa0ce8745 Added Vim old swap files do .gitignore 2009-01-14 23:51:07 -02:00
Xavier Noria
ed847ad4e6 revised rdoc of class_of_active_record_descendant 2009-01-15 01:01:59 +01:00
Pratik Naik
deb597d63d Merge commit 'mainstream/master' 2009-01-14 15:36:27 +00:00
Hongli Lai (Phusion)
9bcf01b23c Fix PostgreSQL unit test failures that only occur when using the old 'postgres' driver.
[#1748 state:committed]

Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2009-01-13 15:58:50 -08:00