aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source
Commit message (Collapse)AuthorAgeFilesLines
...
| * some copy-editsVijay Dev2011-09-082-5/+5
| |
* | clarify that documentation bugs have to be reported as Rails issues. [Closes ↵Xavier Noria2011-09-101-0/+4
| | | | | | | | #2858]
* | Merge pull request #2757 from andmej/first_or_create_pull_requestJon Leighton2011-09-081-7/+68
|\ \ | |/ |/| Add first_or_create family of methods to Active Record
| * Adding `first_or_new` documentation to the AR Querying guide.Nicolas Hock Isaza2011-08-301-1/+1
| |
| * Adding first_or_create, first_or_create!, first_or_new and first_or_build to ↵Andrés Mejía2011-08-301-7/+68
| | | | | | | | | | | | | | | | | | | | Active Record. This let's you write things like: User.where(:first_name => "Scarlett").first_or_create!(:last_name => "Johansson", :hot => true) Related to #2420.
* | getting_started.textile section 6: Correct file names in tabledharmatech2011-09-071-3/+3
| |
* | Revert "Rails.root is a Pathname, no need to use File.join first."Vijay Dev2011-09-071-1/+1
| | | | | | | | | | | | This reverts commit 760fd1eb42038a64591036fc5d687afc98f272aa. Reason: We need a fully qualified path string here, not a Pathname.
* | copy edit assets guideVijay Dev2011-09-071-19/+19
| |
* | getting_started.textile: Fix another typodharmatech2011-09-071-1/+1
| |
* | Rails.root is a Pathname, no need to use File.join first.Joost Baaij2011-09-071-1/+1
| |
* | Added note about adding a javascript runtime to Gemfile for production ↵Ryan Walker2011-09-061-0/+8
| | | | | | | | environment.
* | Fixed Apache configuration for gzipped assets: FilesMatch and LocationMatch ↵Marcus Ilgner2011-09-061-9/+9
| | | | | | | | cannot be nested.
* | Change hyphen to underscore.Uģis Ozols2011-09-061-4/+4
| |
* | getting_started.textile: fix minor typodharmatech2011-09-051-1/+1
| |
* | Add reference about "bundle install --without assets" in Precompiling Assets ↵Guillermo Iguaran2011-09-041-0/+2
| | | | | | | | section.
* | Add CoffeeScript example to JavaScript and ERB sectionGuillermo Iguaran2011-09-041-1/+7
| |
* | Add JavaScript and ERB section to Asset GuideGuillermo Iguaran2011-09-041-0/+12
| |
* | Fix grammar for content_tag_for and div_for docs.Hendy Tanata2011-09-051-1/+1
| |
* | clarify where the branch name will existRay Baxter2011-09-041-1/+1
| |
* | Merge docrails, resolving conflicts in the assets guideVijay Dev2011-09-049-24/+26
|\ \
| * | minor fixes in assets guideVijay Dev2011-09-041-11/+9
| | |
| * | Added |t| to create_table blockRinaldi Fonseca2011-09-041-1/+1
| | |
| * | add some missing dots in the docsVijay Dev2011-09-041-4/+4
| | |
| * | Fix asset_path example in CSS and ERB sectionGuillermo Iguaran2011-09-021-1/+1
| | |
| * | document send_file guesses content type from the file extensionVijay Dev2011-09-031-1/+3
| | | | | | | | | | | | and remove info about x_send_file option to send_file
| * | fix YUI descriptionRichard Hulse2011-09-031-1/+1
| | | | | | | | | | | | | | | YUI CSS compressor does not extend syntax! Also added link to more info
| * | Fixed a typo in the section about migration.David Peckham2011-09-021-1/+1
| | |
| * | some of the changes for validation earlier reverted from d20281aVijay Dev2011-09-033-4/+6
| | |
| * | Change photos_path to photos_url in Using redirect_toFranco Catena2011-09-021-1/+1
| | | | | | | | | | | | Is more "correct" a complete url than only the path
* | | Merge pull request #2841 from wojtekmach/app-generators-groupJosé Valim2011-09-042-0/+21
|\ \ \ | | | | | | | | Add gem group support to generators
| * | | Add gem_group support to generatorsWojciech Mach2011-09-042-0/+21
| | | |
* | | | Merge pull request #2816 from sikachu/content_tag_forJosé Valim2011-09-041-0/+77
|\ \ \ \ | | | | | | | | | | Make `content_tag_for` and `div_for` accepts the array of records
| * | | | Make `content_tag_for` and `div_for` accepts the array of recordsPrem Sichanugrist2011-09-041-0/+77
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | So instead of having to do this: @items.each do |item| content_tag_for(:li, item) do Title: <%= item.title %> end end You can now do this: content_tag_for(:li, @items) do |item| Title: <%= item.title %> end
* / / / Modified content in guides and commentsArun Agrawal2011-09-042-3/+3
|/ / / | | | | | | | | | | | | | | | for "assert /" warnings. Removed because if somebody will use this code they will get warnings!
* / / fixes CSS example in the asset pipeline guideXavier Noria2011-09-031-1/+1
|/ /
* | Revert "Fixing guides validation errors."Vijay Dev2011-09-0210-24/+18
| | | | | | | | | | | | This reverts commit d20281add192e5afba66e555ce67cf73943b033b. Reason: This needs more investigation. Will apply when this is verified.
* | debug option to js, stylesheet tags are ignored when debug mode is offVijay Dev2011-09-021-1/+1
| |
* | Merge branch 'fix_validation_errors'Andrew Olson2011-09-0210-17/+23
|\ \
| * | Fixing guides validation errors.Andrew Olson2011-09-0210-18/+24
| | |
* | | When a collection is empty, render returns nil.Matt Burke2011-09-021-0/+7
| | |
* | | Change the styling of '<ruby>initialize</ruby>' to '+initialize+' (the ↵Stephen J. Butler2011-09-011-1/+1
| | | | | | | | | | | | former breaks the HTML generation).
* | | fix some minor omissions in pipeline docsRichard Hulse2011-09-021-5/+18
| | |
* | | Add #update_attributes as another alternative to #update_column.Sebastian Martinez2011-09-011-1/+1
| | |
* | | Revert "Fix logic in 3.1 release notes sentence"Vijay Dev2011-09-011-1/+1
| | | | | | | | | | | | | | | | | | | | | This reverts commit 30d65da17e5fb1cdd3f10a6d14f4295b57e26286. Reason: This commit is incorrect. It is indeed recommended to use update_attribute when you want callbacks to be invoked.
* | | Modified ActionMailer Basics doc with the following change:Andy Leeper2011-09-011-2/+3
| | | | | | | | | | | | * Changed the lines that said <tt>config/environments/env.rb</tt> to <tt>config/environments/$RAILS_ENV.rb</tt>. People were mis-interpreting the filename to literally be env.rb.
* | | Change "SCSS" to "Sass" in sentences where it's referred to as "language", ↵Roy Tomeij2011-09-011-5/+5
|/ / | | | | | | because Sass is the language (SCSS is one possible syntax within the Sass language), as per documentation on sass-lang.com.
* | Move css data URI into css/erb sectionRichard Hulse2011-09-011-8/+8
| |
* | pipeline docs improvementRichard Hulse2011-09-011-20/+25
| | | | | | | | | | Some cleaning up of whitespace/punctuation and text refinements to clarify some things.
* | pipeline docs - spelling and some whitespaceRichard Hulse2011-09-011-5/+5
| |
* | Adding reference about ExecJS for CoffeeScriptGuillermo Iguaran2011-09-011-2/+4
| |