aboutsummaryrefslogtreecommitdiffstats
path: root/railties
Commit message (Collapse)AuthorAgeFilesLines
* James B. Byrne's suggestionsRyan Bigg2008-12-291-2/+3
|
* Added missing images for the AR validations and callbacks guideCassioMarques2008-12-285-2/+2
|
* Fixed error message that was written in portuguese instead of english...CassioMarques2008-12-283-21/+180
|
* New content for the AR Validations and Callbacks guide: Added a section ↵CassioMarques2008-12-281-1/+115
| | | | about using error messages in view templates, added text about custom validation helpers
* Merge commit 'mainstream/master'Pratik Naik2008-12-282-67/+254
|\
| * Ensure template runner tests don't depend on hash ordering [#1654 ↵Mike Gunderloy2008-12-282-2/+2
| | | | | | | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * Use SimpleLogger for Rails::TemplateRunner outside of the Generator context ↵Aaron Quint2008-12-281-0/+10
| | | | | | | | | | | | [#1618 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * Adding test coverage and better logging to Rails::TemplateRunner [#1618 ↵Aaron Quint2008-12-272-66/+243
| | | | | | | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * Merge docrailsPratik Naik2008-12-263-84/+334
| |
* | Added documentation to gsub_file methodAndrew Timberlake2008-12-281-1/+7
| |
* | Regenerate Guides HTMLMike Gunderloy2008-12-2721-4485/+4527
| |
* | More formatting cleanup for testing guideMike Gunderloy2008-12-271-63/+59
| |
* | Fix typo in layout and rendering guideMike Gunderloy2008-12-271-1/+1
| |
* | Merge patch on subtemplates into layouts & rendering guideMike Gunderloy2008-12-271-0/+49
| |
* | Add information on new rendering syntax to layouts + rendering guideMike Gunderloy2008-12-271-11/+57
| |
* | Formatting changes on index and testing guideMike Gunderloy2008-12-272-24/+22
| |
* | Add version links to indexMike Gunderloy2008-12-271-1/+6
| |
* | Fixed typoAditya Chadha2008-12-271-4/+4
| |
* | Merge commit 'mainstream/master'Pratik Naik2008-12-264-47/+25
|\|
| * Merge commit 'fred/more_pullable'Pratik Naik2008-12-211-1/+1
| |\
| | * Fix script/dbconsole not handling numeric password [#1395 state:resolved]pfagiani2008-12-211-1/+1
| | | | | | | | | | | | Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com>
| * | Correct description of tmp:create task [#1607 state:resolved] [Roderick van ↵Pratik Naik2008-12-211-2/+2
| |/ | | | | | | Domburg]
| * Diverge Metal implementation from Rack::Cascade since we want the last app ↵Joshua Peek2008-12-192-44/+22
| | | | | | | | to return its headers and body if the status is a 404.
| * Merge docrailsPratik Naik2008-12-1916-1111/+853
| |
* | form helpers: twakes based on feedback; more content; set outline for ↵Mislav Marohnić2008-12-251-11/+110
| | | | | | | | remaining topics
* | Xavier Noria suggestions added! Guides #16, parts 27-29.Ryan Bigg2008-12-231-37/+35
| |
* | Added section on having.Ryan Bigg2008-12-221-0/+14
| |
* | Added section about using expressions as values for the lock option.Ryan Bigg2008-12-221-4/+38
| | | | | | | | Added description of how to get hash conditions to use the in expression.
* | Command Line Guide: Added short console/dbconsole/plugin/runner/destroy/aboutColin Curtin2008-12-201-28/+113
| |
* | Merge branch 'master' of git@github.com:lifo/docrailsColin Curtin2008-12-2019-1205/+893
|\ \
| * | Fixed ↵Ryan Bigg2008-12-211-12/+22
| | | | | | | | | | | | http://rails.lighthouseapp.com/projects/16213/tickets/16-activerecord-finders#ticket-16-22 minus two points.
| * | Merge branch 'master' of git@github.com:lifo/docrailsRyan Bigg2008-12-2112-226/+328
| |\ \
| | * | Merge commit 'mainstream/master'Pratik Naik2008-12-1912-226/+328
| | |\|
| | | * Cheaper metal cascadeJeremy Kemper2008-12-182-10/+51
| | | |
| | | * Use LogTailerJeremy Kemper2008-12-181-1/+1
| | | |
| | | * Rename Rails::Rack::Logger -> LogTailer. Speed up log mtime checks.Jeremy Kemper2008-12-183-29/+36
| | | |
| | | * Cheaper log tail time comparisonJeremy Kemper2008-12-181-3/+3
| | | |
| | | * Move gaint lock into middlewareJoshua Peek2008-12-181-1/+1
| | | |
| | | * Make generated Metal bits a pure rack endpoint application (not middleware)Joshua Peek2008-12-173-19/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of calling super to pass the request on, return a 404. The modified app looks like this: # app/metal/poller.rb class Poller def self.call(env) if env["PATH_INFO"] =~ /^\/poller/ [200, {"Content-Type" => "text/html"}, "Hello, World!"] else [404, {"Content-Type" => "text/html"}, "Not Found"] end end end But you aren't locked in to just Rails: # app/metal/api.rb require 'sinatra' Sinatra::Application.default_options.merge!(:run => false, :env => :production) Api = Sinatra.application unless defined? Api get '/interesting/new/ideas' do 'Hello Sinatra!' end
| | | * Introduce Rails MetalJoshua Peek2008-12-166-0/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # app/metal/poller.rb class Poller < Rails::Rack::Metal def call(env) if env["PATH_INFO"] =~ /^\/poller/ [200, {"Content-Type" => "application/json"}, Message.recent.to_json] else super end end end * There is a generator to help you get started `script/generate metal poller` * Also, metal bits can be ran standalone with rackup `rackup app/metal/poller.rb`
| | | * normalize author names in changelogs [#1495 state:committed]Xavier Noria2008-12-161-195/+195
| | | | | | | | | | | | | | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
| * | | Added more to the hashn conditions section.Ryan Bigg2008-12-211-1/+9
| |/ /
| * | Fix bad link in Getting Started, rebuild HTMLMike Gunderloy2008-12-175-957/+525
| | |
| * | Correct one instance of table syntax.Ryan Bigg2008-12-171-9/+9
| | |
* | | Started working with the scaffold instead of model generator to teach modelsColin Curtin2008-12-161-2/+4
|/ /
* | Fixed up syntax errors.Ryan Bigg2008-12-171-6/+7
| |
* | i18n guide: add note about #t and #l aliasesSven Fuchs2008-12-161-0/+8
| |
* | i18n guide: add screenshots and explain localize methodSven Fuchs2008-12-166-8/+39
| |
* | i18n guide: renumber footnotes (do i really need to do this manually?)Sven Fuchs2008-12-161-10/+8
| |
* | i18n guide: add link to rails-i18n wiki about "How to encode the current ↵Sven Fuchs2008-12-161-1/+1
| | | | | | | | locale in the url"