aboutsummaryrefslogtreecommitdiffstats
path: root/railties
Commit message (Collapse)AuthorAgeFilesLines
* 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"
* | i18n guide: actually use footnotesSven Fuchs2008-12-161-8/+10
| |
* | add quote from wikipedia about I18n and L10nSven Fuchs2008-12-161-1/+6
| |
* | explain exceptions, exception_handler and :raise optionSven Fuchs2008-12-161-9/+38
| |
* | explain changes of pluralization featureSven Fuchs2008-12-161-2/+2
| |
* | explain purpose of interpolation featureSven Fuchs2008-12-161-1/+1
| |
* | use new asciidoc table syntaxSven Fuchs2008-12-161-20/+19
| |
* | note about #t helper vs I18n.tSven Fuchs2008-12-161-5/+3
| |
* | i18n guide: remove remaining references to en-US, use Symbols for localesSven Fuchs2008-12-161-34/+54
| |
* | Merge commit 'mainstream/master'Pratik Naik2008-12-164-11/+7
|\|
| * Switch to Rack based session stores.Joshua Peek2008-12-153-11/+4
| |
| * Added gem backtrace pretty priting (Juan Lupión) [#1497 state:committed]David Heinemeier Hansson2008-12-151-0/+3
| |
* | Updated finders guide to include hash conditionals.Ryan Bigg2008-12-161-0/+35
| |
* | Fix typoFrederick Cheung2008-12-141-1/+1
| |
* | Added some text about the possibility of observers' registration also at the ↵CassioMarques2008-12-132-2/+8
| | | | | | | | config/environment files (AR Validations and Callbacks Guide)
* | Updated section about halting execution of operations when a before_xxx ↵CassioMarques2008-12-132-2/+2
| | | | | | | | callback returns false (AR Validations and Callbacks Guide)