Commit Graph

18756 Commits

Author SHA1 Message Date
Thomas McDonald
3ca6988b78 Fixed typo in engine documentation 2010-10-06 22:11:03 +01:00
John Firebaugh
b1047888fb render :text => proc { ... } is no longer supported. 2010-10-04 11:14:42 -07:00
John Firebaugh
6644675831 Template::Error is also used if rendering fails. 2010-10-04 11:12:57 -07:00
Nicholas E. May (on Enterprise)
66559107e1 Merge branch 'master' of github.com:lifo/docrails 2010-10-03 18:06:22 -05:00
Marcelo Giorgi
860d7c566b Correct documentation that references how *_filter of action_pack are translated into set_callback/run_callback's (from active_support) invocations. 2010-10-03 20:54:08 -02:00
Nicholas E. May (on Enterprise)
467d20c897 Section 6, table, typo (extra '.rb') 2010-10-03 00:37:15 -05:00
Nicholas E. May (on Enterprise)
bcc103367b Section 4.3, wrong word used: 'contact' => 'content' 2010-10-02 23:05:08 -05:00
Nicholas E. May (on Enterprise)
ab7b99f150 Section 3.3: '# bundle install' instead of just 'bundle install' 2010-10-02 22:43:45 -05:00
Nicholas E. May (on Enterprise)
ffe24354cc Section 3.2, table: 'README.rdoc' -> 'README' 2010-10-02 22:26:26 -05:00
Nicholas E. May (on Enterprise)
a72edab3b3 Removed unnecessary 'the' in the '2.2.9 Active Suport' section of Getting Started. 2010-10-02 21:57:01 -05:00
fastred
4ea9a8d9ad Fix syntax error in ActiveModel::Validations .validate example 2010-10-01 18:32:46 +02:00
Evgeniy Dolzhenko
ee31847a5a Fix serialization :include option name 2010-10-01 14:26:17 +04:00
Jaime Iniesta
ef554156c4 Action Mailer Basics guide - reformatted configuration table 2010-09-30 12:23:52 +02:00
Jaime Iniesta
ae65a1f1df Action Mailer Basics guide - fixed typos 2010-09-30 12:11:51 +02:00
Xavier Noria
a617f6bc4c Merge branch 'master' of github.com:lifo/docrails 2010-09-29 20:26:42 +02:00
Aaron Patterson
5793d5e002 eliminating method_missing on TableDefinition 2010-09-29 11:18:43 -07:00
Aaron Patterson
c57f5d58ea no need to call e.class 2010-09-29 10:39:17 -07:00
Aaron Patterson
b9215273a9 DRY up postgresql quote logic 2010-09-29 10:36:33 -07:00
Aaron Patterson
4350a5c73f fixing where clause indentation 2010-09-29 10:36:33 -07:00
Aaron Patterson
5e77872ac9 use consistent method calls for column inspection 2010-09-29 10:36:33 -07:00
Aaron Patterson
df9abfab6f require pg when this adapter is loaded 2010-09-29 10:36:33 -07:00
Aaron Patterson
b5b7f2e442 only reopen ConnectionAdapters once 2010-09-29 10:36:33 -07:00
Aaron Patterson
b2979117e0 use inheritence to deal with custom methods 2010-09-29 10:36:32 -07:00
Aaron Patterson
2cc4b7f297 fisting test organization 2010-09-29 10:36:32 -07:00
Aaron Patterson
995ad3b378 just use if rather than nil? 2010-09-29 10:36:32 -07:00
Aaron Patterson
b3c7766df7 just require sqlite3 when the database adapter is required 2010-09-29 10:36:32 -07:00
José Valim
258f7b586e Fix a small typo (ht: masterkain) 2010-09-29 10:34:37 -07:00
Joost Baaij
b1acba7bb8 Cleanup of the References section.
Removed non-functional links.
Removed links to API documentation.
Removed link to Rails 2 material.

Renamed "References" to "Further Reading".
2010-09-29 15:56:16 +02:00
Joost Baaij
3c620bed8c Removed obsolete "advanced" plugin URLs.
These plugins are obsolete even for Rails 2, they have no place in a Rails 3 guide.
Also removed "mad cool" reference.

If anyone has ideas about cache plugins that *must* be included, I would love to know.
As far as I am concerned the rails guides should stick to built-in methods and have a
simple list of references for people wishing to investigate further.

I will check out the references after this commit to see if they're up to date.
2010-09-29 15:51:09 +02:00
José Valim
f63d35fba5 Ensure that named routes do not overwrite previously defined routes. 2010-09-29 14:24:32 +02:00
José Valim
b1ae796284 Fix an error on 1.8.7. 2010-09-29 11:28:38 +02:00
José Valim
392df0fc06 @_etag is not used anywhere. 2010-09-29 11:19:22 +02:00
José Valim
14f9904e0f Avoid (@_var ||= nil) pattern by using initialize methods and ensuring everyone calls super as expected. 2010-09-29 11:18:31 +02:00
José Valim
0bbf9029e8 Merge remote branch 'miloops/warnings' 2010-09-29 10:04:42 +02:00
Santiago Pastorino
006cef7107 Add gem 'arel' from git commented out as an example of how to Bundle egde Rails with Arel edge
[#5723 state:committed]
2010-09-29 00:14:48 -03:00
Aaron Patterson
dec3a759d1 removing more useless code! yay! 2010-09-28 17:32:38 -07:00
Aaron Patterson
8d9f7b5b99 SqlLiteral is a string, so we can dry up these conditionals 2010-09-28 17:31:31 -07:00
Aaron Patterson
b50b1ef9e8 shorten up or sql literal creation statements 2010-09-28 17:12:19 -07:00
Aaron Patterson
39d98e5c09 we only care about arrays and strings 2010-09-28 17:05:32 -07:00
Aaron Patterson
957e6fbe2a dry up calls to arel.join() 2010-09-28 17:03:36 -07:00
Aaron Patterson
ef2392f60b removing unused lasgns 2010-09-28 16:59:38 -07:00
Aaron Patterson
e6ca7e7197 refactoring to remove crazy logic 2010-09-28 16:14:39 -07:00
Aaron Patterson
c2cad2d97e where_values_hash always returns a hash 2010-09-28 15:56:08 -07:00
Neeraj Singh
3f16103daf performance improvement based on discussion at fbd1d306b9
Credit goes to all the participants in the discussion
2010-09-28 15:52:26 -07:00
Aaron Patterson
9b89a436e5 Revert "porting 515917f5d8 to master"
This reverts commit bee447a5b9.
2010-09-28 15:51:07 -07:00
Aaron Patterson
16f5d29755 Revert "porting 0665182950 to master. Thanks Marcelo Giorgi"
This reverts commit 9eca11a4a5.
2010-09-28 15:51:00 -07:00
Aaron Patterson
10041e2d45 removing a conditional that is not used 2010-09-28 15:39:24 -07:00
Aaron Patterson
d0fb0d770f fisting the postgresql tests 2010-09-28 15:32:12 -07:00
Emilio Tagua
17599abc9c Enable warnings now that they can be readed. 2010-09-28 18:50:46 -03:00
Emilio Tagua
623ef13b77 Fix test that wasn't running at all. 2010-09-28 18:48:58 -03:00