Commit Graph

2894 Commits

Author SHA1 Message Date
Sean Bryant
e8071d7c64 Fix my previous commit. Don't say it's been removed when it really
hasn't.

Also change the assert reference to be more consistent with the rest
of the documentation.
2009-04-22 13:58:14 -04:00
Sean Bryant
2d9c37d169 Add a note about assert_valid(record) being deprecated. 2009-04-22 11:07:41 -04:00
hardbap
4c21026da4 Update ActionMailer guide's '2.3 Complete List of Action Mailer User-Settable Attributes' to show that the attribute 'cc' and 'bcc' can take a string or an Array of strings. 2009-04-21 10:57:20 -07:00
Barry Hess
81d595c6c0 Update ActionMailer guide's 'Sending Multipart Emails with Attachments' section to show explicitly which order text/plain and text/html parts must be in as well as the proper way to define the multipart/alternative part. 2009-04-20 12:54:45 -05:00
Mike Gunderloy
0271d9bda7 Added touch to associations guide 2009-04-19 07:56:07 -05:00
Mike Gunderloy
5bc635b8cd Remove named scopes from query guide contents, separate guide is coming 2009-04-19 06:44:46 -05:00
Xavier Noria
b82f3bcf39 fixes email/radio mismatch reported by Marek in LH 2009-04-18 16:26:36 +02:00
Xavier Noria
a8a5b17df0 adds a missing word 2009-04-18 11:52:14 +02:00
Xavier Noria
16740047de Initial Active Support guide 2009-04-18 11:47:38 +02:00
Jared Giles
9f8b99ba57 Updated migration section to mention that SQLite now supports transactional migrations 2009-04-17 21:06:16 -05:00
lifo
938eb01c24 Initial template guide 2009-04-17 14:23:32 +01:00
lifo
20401783cf Merge commit 'mainstream/master'
Conflicts:
	actionpack/lib/action_controller/base.rb
	railties/guides/source/caching_with_rails.textile
2009-04-17 14:06:26 +01:00
Carl Lerche & Yehuda Katz
3c1187699a Makes rails-dev-boost work again 2009-04-14 18:32:31 -07:00
Jeremy Kemper
1120aaceae Fix requires so tests run 2009-04-14 10:53:46 -05:00
Carl Lerche & Yehuda Katz
d9afc51391 Rails server boots again 2009-04-13 17:16:07 -07:00
Carl Lerche & Yehuda Katz
906aebceed Bring abstract_controller up to date with rails/master
Resolved all the conflicts since 2.3.0 -> HEAD. Following is a list
of commits that could not be applied cleanly or are obviated with the
abstract_controller refactor. They all need to be revisited to ensure
that fixes made in 2.3 do not reappear in 3.0:

2259ecf368e6a6715966f69216e3ee86bf1a82a7
AR not available
  * This will be reimplemented with ActionORM or equivalent

06182ea02e92afad579998aa80144588e8865ac3
implicitly rendering a js response should not use the default layout
[#1844 state:resolved]
  * This will be handled generically

893e9eb99504705419ad6edac14d00e71cef5f12
Improve view rendering performance in development mode and reinstate
template recompiling in production [#1909 state:resolved]
  * We will need to reimplement rails-dev-boost on top of the refactor;
    the changes here are very implementation specific and cannot be
    cleanly applied. The following commits are implicated:

      199e750d46c04970b5e7684998d09405648ecbd4
      3942cb406e1d5db0ac00e03153809cc8dc4cc4db
      f8ea9f85d4f1e3e6f3b5d895bef6b013aa4b0690
      e3b166aab37ddc2fbab030b146eb61713b91bf55
      ae9f258e03c9fd5088da12c1c6cd216cc89a01f7
      44423126c6f6133a1d9cf1d0832b527e8711d40f

0cb020b4d6d838025859bd60fb8151c8e21b8e84
workaround for picking layouts based on wrong view_paths
[#1974 state:resolved]
  * The specifics of this commit no longer apply. Since it is a two-line
    commit, we will reimplement this change.

8c5cc66a831aadb159f3daaffa4208064c30af0e
make action_controller/layouts pick templates from the current instance's
view_paths instead of the class view_paths [#1974 state:resolved]
  * This does not apply at all. It should be trivial to apply the feature
    to the reimplemented ActionController::Base.

87e8b162463f13bd50d27398f020769460a770e3
fix HTML fallback for explicit templates [#2052 state:resolved]
  * There were a number of patches related to this that simply compounded
    each other. Basically none of them apply cleanly, and the underlying
    issue needs to be revisited. After discussing the underlying problem
    with Koz, we will defer these fixes for further discussion.
2009-04-13 15:18:45 -07:00
Xavier Noria
3d06eca01e in 2.3 release notes, fix name of a rake task 2009-04-13 23:49:38 +02:00
Mike Gunderloy
7649ef08a5 Fix typo in release notes 2009-04-11 18:57:30 -05:00
Mike Gunderloy
2e56ce8f8c Revert "Changes to indicate release notes refer to most recent point releases,"
Rails numbering: 2.2.2 and 2.3.2 are the release versions, so original wording is fine. Release notes refer to the first *release* version, not the the earlier RC versions.

This reverts commit 858dbeb4fde52494976e4aa55fb127181a078cd7.
2009-04-07 11:53:49 -05:00
Rick Moynihan
858dbeb4fd Changes to indicate release notes refer to most recent point releases,
not the initial release.

It would be good to make this more explicit still.

The motivation for the change was that ActiveRecords find_in_batches
is documented to have been released in rails 2.3, but was actually
only released in 2.3.2.
2009-04-07 16:10:30 +01:00
Manfred Stienstra
f209d3898f Improve tests and code for Rails::InfoController and Rails::Info [#2411 state:resolved]
- Refactor Rails::InfoController tests.
- Return forbidden status from the InfoController for remote requests instead of a 500.
- Add tests for displaying middleware in Rails::Info.

Signed-off-by: Joshua Peek <josh@joshpeek.com>
2009-04-07 09:16:48 -05:00
Trevor Turk
1c583d07af Starting work on Action View Overview guide 2009-04-05 18:29:03 -05:00
Pratik Naik
981d20e752 Supply fullfile name to the generator 2009-04-05 23:08:03 +01:00
Pratik Naik
32ca9a1338 Namespace under RailsGuides 2009-04-05 23:08:02 +01:00
Pratik Naik
632bbbfe1c Merge docrails 2009-04-05 12:36:36 +01:00
Xavier Noria
dda04f700e fixes spelling of "JavaScript" and link to the complex form examples app 2009-04-05 11:48:53 +02:00
Pratik Naik
c55507e8ce Merge commit 'mainstream/master' 2009-04-04 17:31:11 +01:00
Xavier Noria
9e9469e83f Merge branch 'master' of git@github.com:lifo/docrails 2009-04-03 23:32:48 +02:00
Xavier Noria
a7e757f8af deletes screencast promo in prologue, its proper place is the References section 2009-04-03 23:32:16 +02:00
Nathan Lloyd Smith
c910c45b9d Typo fix 2009-04-03 13:44:09 -05:00
Xavier Noria
9488d583ee list -> index 2009-04-03 15:52:16 +02:00
Xavier Noria
2e601d8da7 in caching guide, RESTifies some examples, revised conventions here and there 2009-04-03 15:50:55 +02:00
Mike Gunderloy
e4ea27fd2d Tech edit of caching guide from Gregg Pollack 2009-04-03 08:15:41 -05:00
Michael Schuerig
cad3e8b261 Show installed middleware in builtin rails info (/rails/info/properties) [#2396 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
2009-04-02 11:54:52 -05:00
chrisk
19a158650b Fix two typos in a comment in config/initializers/backtrace_silencers.rb 2009-03-31 15:41:37 -07:00
Xavier Noria
c6ff88a4d2 With -> with in a title 2009-03-30 10:14:37 +02:00
Mike Gunderloy
9635741b84 Clear up a little confusing wording in Routing Guide. 2009-03-27 05:21:33 -05:00
Xavier Noria
0ddeb6e8d6 copyedited minor details in the rack on rails guide 2009-03-26 18:41:38 +01:00
Mike Gunderloy
fab9d3b59d Merge branch 'master' of git@github.com:lifo/docrails
Conflicts:
	railties/guides/source/2_3_release_notes.textile
2009-03-24 20:06:59 -05:00
Mike Gunderloy
4e27ca4c28 Add note about change to session options 2009-03-24 20:02:08 -05:00
Pratik Naik
f97832b1e4 Merge docrails 2009-03-24 12:15:43 +00:00
Pratik Naik
4687306c2c Merge commit 'mainstream/master'
Conflicts:
	railties/guides/images/fxn.jpg
	railties/guides/rails_guides/generator.rb
2009-03-24 12:10:38 +00:00
Pratik Naik
f7bdfe8bb7 Fix a small typo 2009-03-22 11:25:05 +00:00
Xavier Noria
1ff3ae3ed7 ensure authors get warnings about broken links, and ensure end users don't 2009-03-22 11:11:10 +01:00
Xavier Noria
dab7813ebc in guides generator, warn about duplicate header IDs only if WARN_DUPLICATE_HEADERS 2009-03-22 00:43:56 +01:00
Xavier Noria
bf14453af9 replace edit distance implementation with one written from scratch to avoid license issues 2009-03-22 00:40:35 +01:00
Xavier Noria
3aae3db170 removes a wrong comment in the finders guide 2009-03-21 16:00:33 +01:00
Xavier Noria
9fdbc11615 updates fxn picture 2009-03-21 01:30:22 +01:00
Xavier Noria
0f87fd3069 thanks but release notes are mostly frozen once they are published, and provide only an overview of the new stuff 2009-03-19 23:23:05 +01:00
Anton Jenkins
3d3a74f07f Added extra notes to nested model forms explanation in 2.3 release notes to cover has_one relationships 2009-03-19 16:23:14 +00:00