aboutsummaryrefslogtreecommitdiffstats
path: root/railties
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* | Some more info about the effect of calling the clear method upon a model's ↵CassioMarques2008-12-132-8/+14
| | | | | | | | errors collection (AR Validations an Callbacks Guide)
* | Merge commit 'mainstream/master'Pratik Naik2008-12-117-9/+18
|\| | | | | | | | | | | | | Conflicts: railties/doc/guides/html/activerecord_validations_callbacks.html railties/doc/guides/source/activerecord_validations_callbacks.txt
| * Prefer Rails.logger over RAILS_DEFAULT_LOGGERJoshua Peek2008-12-101-1/+3
| |
| * How'd that sneak in there?Jeremy Kemper2008-12-091-1/+0
| |
| * Use full path to environmentJeremy Kemper2008-12-081-1/+1
| |
| * Fix message when running TemplateRunner#git. [#1526 state:resolved]Sergio Gil2008-12-081-2/+2
| | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * Add a rake task to apply a template to an existing application.Pratik Naik2008-12-074-3/+11
| | | | | | | | Example : rake rails:template LOCATION=~/template.rb
| * Remove unused TemplateRunner attributesPratik Naik2008-12-071-1/+1
| |
| * Merge with docrailsPratik Naik2008-12-0758-1214/+5052
| |
* | Minor asciidoc syntax fixes to the testing guide.[Luke Amdor]athonlab2008-12-111-1/+1
| |
* | Wrap code lines longer than 80 columns on AR validations and callbacks guideCassioMarques2008-12-092-38/+74
| |
* | Fixed typos on validates_numericality_of all over AR validations and ↵CassioMarques2008-12-081-5/+5
| | | | | | | | callbacks guide