aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides
Commit message (Collapse)AuthorAgeFilesLines
* implements AR::Relation#explainXavier Noria2011-11-051-0/+65
| | | | | | | | | | | | | | | | | | | This is a first implementation, EXPLAIN is highly dependent on the database and I have made some compromises. On one hand, the method allows you to run the most common EXPLAIN and that's it. If you want EXPLAIN ANALYZE in PostgreSQL you need to do it by hand. On the other hand, I've tried to construct a string as close as possible to the ones built by the respective shells. The rationale is that IMO the user should feel at home with the output and recognize it at first sight. Per database. I don't know whether this implementation is going to work well. Let's see whether people like it.
* Add ActiveRecord::Relation#uniq for toggling DISTINCT in the SQL queryJon Leighton2011-11-051-4/+20
|
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-11-058-32/+38
|\
| * Fixed after_initialize/after_find guideFlorian Walch2011-11-051-3/+3
| | | | | | | | | | Defining after_initialize and after_find as ordinary methods like documented in the guide doesn't work with Rails 3.1.1; now macro-style is used here, too.
| * Added bundle exec to rake test.Henrik Hodne2011-11-031-6/+6
| | | | | | | | This is in response to rails/rails#3504.
| * minor editVijay Dev2011-11-021-1/+1
| |
| * minor edits in AR validations guideVijay Dev2011-11-021-10/+2
| |
| * use relative urls for linking to sections in the guidesVijay Dev2011-11-021-10/+10
| |
| * Fix wrong link in initialization docjuandebravo2011-11-011-1/+1
| |
| * [config guide] mention that config methods are to be called on Railtie ↵Ryan Bigg2011-11-011-0/+2
| | | | | | | | subclasses
| * [engines guide] add 'General engine configuration' sectionRyan Bigg2011-11-011-0/+12
| |
| * Update routing guides, root route should be at the top of the fileAlexey Vakhov2011-10-311-1/+1
| |
| * Fix typo on the performance test guideGonçalo Silva2011-10-301-1/+1
| |
* | prefer qualified constant "name" to "reference expression", much simplerXavier Noria2011-10-301-2/+2
|/
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-10-303-3/+3
|\
| * Updated links to authentication plugins.Joost Baaij2011-10-281-1/+1
| | | | | | | | | | | | Removed mention of restful_authentication. Added devise and authlogic. Also mention Rails 3.1 built-in logic.
| * Fix a little typoHenare Degan2011-10-261-1/+1
| |
| * note that after_initialize is run for rake tasksBruce Adams2011-10-241-1/+1
| |
* | defines Module#qualified_const_(defined?|get|set) and String#deconstantizeXavier Noria2011-10-291-0/+83
| | | | | | | | | | | | | | | | | | | | This commit also implements a faster version of #demodulize I was unable to isolate with git add --patch. Not a big fan of the name #deconstantize. It complements #demodulize getting rid of the rightmost constant, hence the name, but it is unrelated to the well-known #constantize. So unsure. Could not come with anything better, please feel free to rename.
* | Revert "Merge pull request #3395 from bdurand/fix_file_store_cleanup"José Valim2011-10-251-5/+1
|/ | | | | | | Tests were failing on Travis-CI. This reverts commit 79d01a8f16e20c556a086a2f07e3ccb4400f9819, reversing changes made to b838570bd69ff13d677fb43e79f10d6f3168c696.
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-10-233-15/+10
|\
| * edge doesnt provide turn gem in the gemfile anymoreVijay Dev2011-10-231-5/+0
| |
| * Updated rack version in docs for 3.2Arun Agrawal2011-10-221-1/+1
| |
| * Rails version to 3.2.0.beta in docsArun Agrawal2011-10-221-6/+6
| |
| * Middleware details updated for 3.2Arun Agrawal2011-10-221-1/+1
| |
| * Fixed typo.Pepe Hipolito2011-10-201-1/+1
| | | | | | | | Ruby will know to look for this file at => Ruby will know how to look for this file at
| * Fixed typo.Pepe Hipolito2011-10-201-1/+1
| | | | | | | | a long the way => along the way
* | Merge pull request #3396 from bdurand/session_cache_storeJosé Valim2011-10-213-8/+11
|\ \ | | | | | | Add ActionDispatch::Session::CacheStore as a generic way of storing sessions in a cache
| * | Add ActionDispatch::Session::CacheStore as a generic way of storing sessions ↵Brian Durand2011-10-213-8/+11
| |/ | | | | | | in a cache.
* / Fix ActiveSupport::Cache::FileStore.cleanup to actually work.Brian Durand2011-10-211-1/+5
|/
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-10-204-47/+260
|\
| * [engines guide] explanation of overriding views + referencing routes from an ↵Ryan Bigg2011-10-201-2/+57
| | | | | | | | engine within an application
| * [engines guide] some fixes for the author id migration including proof of ↵Ryan Bigg2011-10-201-4/+10
| | | | | | | | not copying over other migrations again
| * [engines guide] add missing end for to_s methodRyan Bigg2011-10-201-0/+1
| |
| * [engines guide] wrap up 'Configuring an Engine' sectionRyan Bigg2011-10-201-0/+2
| |
| * [engines guide] Rather than calling name, require a to_s method to be ↵Ryan Bigg2011-10-201-2/+17
| | | | | | | | defined on the 'User' class
| * [engines guide] mention that we cover similar ground to the Getting Started ↵Ryan Bigg2011-10-201-1/+1
| | | | | | | | Guide
| * Fixes the defaults for config.cache_classesAndy Lindeman2011-10-181-1/+1
| |
| * Clarified that the config.assets.initialize_on_precompile directive needs to ↵Pascal Lindelauf2011-10-171-1/+1
| | | | | | | | be set in application.rb
| * [engines guide] missed a spot in the 'Using a class section' + further text ↵Ryan Bigg2011-10-171-2/+69
| | | | | | | | for 'Configuring an engine' section
| * [engines guide] Point out that we need to run rake db:migrate after creating ↵Ryan Bigg2011-10-171-0/+2
| | | | | | | | user model
| * [engines guide] [reviewing] remove excessive 'Now'Ryan Bigg2011-10-171-1/+1
| |
| * [engines guide] Complete section about using an application's classRyan Bigg2011-10-171-5/+26
| |
| * [engines guide] beginning to cover using application's classesRyan Bigg2011-10-161-1/+23
| |
| * [engines guide] Add 'Engine setup' section in 'Hooking into an application' ↵Ryan Bigg2011-10-161-2/+20
| | | | | | | | section
| * [engines guide] improve intro to 'Hooking into an application' sectionRyan Bigg2011-10-161-2/+6
| |
| * [layouts and rendering] Copy editingmhutchin2011-10-151-26/+26
| |
| * [layouts and rendering] Copy editing to improve readabilitymhutchin2011-10-151-11/+11
| |
* | Encourage use of tagged logging even when using a different loggerDavid Heinemeier Hansson2011-10-191-1/+1
| |
* | Added X-Request-Id tracking and TaggedLogging to easily log that and other ↵David Heinemeier Hansson2011-10-191-0/+3
| | | | | | | | production concerns