aboutsummaryrefslogtreecommitdiffstats
path: root/railties
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 arel to Gemfile on apps generated in edge RailsGuillermo Iguaran2011-11-051-0/+2
| |
* | 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
| | |
* | | Synchronize the gemspecs since CHANGELOG has been renamed to CHANGELOG.mdFranck Verrot2011-11-041-1/+1
| | |
* | | Convert CHANGELOGs to Markdown format.Jon Leighton2011-11-042-2390/+2390
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | Reasons: * Markdown reads well as plain text, but can also be formatted. * It will make it easier for people to read on the web as Github formats the Markdown nicely. * It will encourage a level of consistency when people are writing CHANGELOG entries. The script used to perform the conversion is at https://gist.github.com/1339263
* | treat USAGE as an ERB templateColin MacKenzie IV2011-11-024-1/+13
| |
* | 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.
* | Removing db/seeds.rb is fine. Don't blow up.Jeremy Kemper2011-10-292-2/+8
| |
* | Merge pull request #3337 from htanata/fix_rake_routes_for_controller_only_routeJosé Valim2011-10-292-9/+18
|\ \ | | | | | | Remove trailing "#" on rake routes for controller only routes
| * | On inpsect routes, show :controller and :action to indicate dynamic.Hendy Tanata2011-10-292-9/+18
| | |
* | | method redefined warning removed!Arun Agrawal2011-10-291-0/+1
|/ /
* | Fix railtie configuration test calling PostsController#create which didn't existDenis Odorcic2011-10-271-1/+1
| |
* | Scaffold returns 204 No Content for API requests without content. This makes ↵José Valim2011-10-262-2/+4
| | | | | | | | scaffold work with jQuery out of the box.
* | Fix failing tests.José Valim2011-10-261-0/+2
| |
* | Merge pull request #3357 from rahul100885/rahul100885_wsVijay Dev2011-10-251-0/+10
|\ \ | | | | | | Added test case for postgresql database
| * | Added test case for postgresql databaseRahul P. Chaudhari2011-10-181-0/+10
| | |
* | | 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.
* | | Remove needless to_param in scaffold functional testAlexey Vakhov2011-10-241-4/+4
| |/ |/|
* | 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 #3408 from guilleiguaran/remove-turnJosé Valim2011-10-223-28/+0
|\ \ \ | | | | | | | | Remove Turn from default Gemfile.
| * | | Remove Turn from default Gemfile.Guillermo Iguaran2011-10-223-28/+0
| | | | | | | | | | | | | | | | We still looking for a best presentation for tests output.
* | | | Revert "Merge pull request #3405 from arunagw/middleware_name"Aaron Patterson2011-10-221-1/+1
|/ / / | | | | | | | | | | | | This reverts commit c33090523c3504a2a125d7f725a7f2a4b99ff3c0, reversing changes made to 1c1c3fc2c06fc02e67a8272adf2c2d2381e005b4.
* | | Using middleware name to show proper name in the infoArun Agrawal2011-10-221-1/+1
| | |
* | | 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-205-50/+272
|\ \
| * | [engines guide] explanation of overriding views + referencing routes from an ↵Ryan Bigg2011-10-201-2/+57
| | | | | | | | | | | | engine within an application