aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add arel to Gemfile on apps generated in edge RailsGuillermo Iguaran2011-11-051-0/+2
|
* bumps up sprocketsXavier Noria2011-11-051-1/+1
|
* fixes typoXavier Noria2011-11-051-1/+1
|
* implements AS::Notifications.subscribed, which provides subscriptions to ↵Xavier Noria2011-11-053-0/+63
| | | | events while a block runs
* expands the documentation of AS::NotificationsXavier Noria2011-11-051-14/+46
|
* Merge pull request #3525 from kennyj/fix_3440-1Jon Leighton2011-11-053-2/+20
|\ | | | | Fixed an issue id false option is ignored on mysql/mysql2 (fix #3440)
| * Fixed an issue id false option is ignored on mysql/mysql2 (fix #3440)kennyj2011-11-063-2/+20
| |
* | Revert "Merge pull request #2378 from cesario/remove_warnings_activemodel"Jon Leighton2011-11-051-1/+0
| | | | | | | | | | | | | | This reverts commit 6aaae3de277b572f37e09f16ae12737c3c87dfb7, reversing changes made to fdbc4e5f4e5746ebf558485348c841b33f038fda. Reason: build failure.
* | make class name consistent with the filenameVijay Dev2011-11-051-1/+1
| |
* | Skip test_default_external_works on the CI for Ruby 1.9.3.Jon Leighton2011-11-051-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This test is affected by a bug in Ruby 1.9.3p0 and trunk: http://redmine.ruby-lang.org/issues/5564 Given we cannot fix it for ourselves, it is better to skip for now so that we will easily see if further failures are introduced. Jon Leighton is monitoring the bug report and will revert this when a suitable solution is found (either a new Ruby release or a generic workaround). If you are using 1.9.3 in your app and have templates that are not in UTF-8, you should add a workaround early on in the boot process. For example, if your templates are Shift_JIS encoded, then add the following in an initializer: Encoding::Converter.new('Shift_JIS', 'UTF-8')
* | Use uniq instead of manually putting a DISTINCT in the queryJon Leighton2011-11-051-14/+2
| |
* | Add ActiveRecord::Relation#uniq for toggling DISTINCT in the SQL queryJon Leighton2011-11-059-13/+89
| |
* | Merge pull request #2378 from cesario/remove_warnings_activemodelVijay Dev2011-11-051-0/+1
|\ \ | | | | | | Remove warnings by calling remove_method
| * | Remove warnings by calling remove_methodFranck Verrot2011-07-311-0/+1
| | |
* | | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-11-0511-37/+45
|\ \ \
| * | | Revert "outline two ways to invoke a custom active model validator"Vijay Dev2011-11-051-9/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit d163d3bf7ebb98d90977974aed8f85b7ec678afd. Reason: The alternate approach can be documented in the guide and not disrupt the existing flow in the readme.
| * | | Revert "make the inline text a comment in the code block"Vijay Dev2011-11-052-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 36a5f48f9323c4a770c290a9a16ae58388e7925f. Reason: Editing .gitignore in docrails is not allowed. Docrails is meant only for documentation.
| * | | 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.
| * | | make the inline text a comment in the code blockKarthik Muthupalaniappan2011-11-042-1/+3
| | | |
| * | | outline two ways to invoke a custom active model validatorKarthik Muthupalaniappan2011-11-041-1/+9
| | | |
| * | | Added bundle exec to rake test.Henrik Hodne2011-11-031-6/+6
| | | | | | | | | | | | | | | | This is in response to rails/rails#3504.
| * | | Fix javascript_include_tag examples in documentationAlexey Vakhov2011-11-031-2/+2
| | | |
| * | | Fix small typos in routing docsAlexey Vakhov2011-11-031-1/+3
| | | |
| * | | 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
| | | |
| * | | Fix typo in Dispatcher#controller documentationAviv Ben-Yosef2011-11-011-1/+1
| | | |
| * | | Fix typo in constraints method documentationAlexey Vakhov2011-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
| | | |
* | | | Merge pull request #3529 from vjebelev/ar_ordered_indexes2Jon Leighton2011-11-0511-20/+111
|\ \ \ \ | |_|_|/ |/| | | AR changes to support creating ordered (asc, desc) indexes
| * | | AR changes to support creating ordered (asc, desc) indexesVlad Jebelev2011-11-0411-20/+111
|/ / /
* | | add tests for the case where size is explicitly passed to number_field helperVijay Dev2011-11-041-0/+4
| | |
* | | Merge pull request #3517 from arunagw/test_fix_activerecordJon Leighton2011-11-041-1/+1
|\ \ \ | | | | | | | | Fix test as one more has_many added
| * | | Fix test as one more has_many addedArun Agrawal2011-11-041-1/+1
|/ / /
* | | Merge pull request #3516 from cesario/fix_gemspecJon Leighton2011-11-047-7/+7
|\ \ \ | | | | | | | | Synchronize the gemspecs since CHANGELOG has been renamed to CHANGELOG.md
| * | | Synchronize the gemspecs since CHANGELOG has been renamed to CHANGELOG.mdFranck Verrot2011-11-047-7/+7
|/ / /
* | | Convert CHANGELOGs to Markdown format.Jon Leighton2011-11-0414-17147/+17080
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Allow the :class_name option for associations to take a symbol.Jon Leighton2011-11-044-2/+15
| | | | | | | | | | | | | | | This is to avoid confusing newbies, and to be consistent with the fact that other options like :foreign_key already allow a symbol or a string.
* | | Merge pull request #3514 from waseem/remove_size_attribute_from_number_fieldJosé Valim2011-11-042-2/+4
|\ \ \ | | | | | | | | Remove 'size' attribute from number_field form helper fixes #3454
| * | | Remove 'size' attribute from number_field form helper fixes #3454Waseem Ahmad2011-11-042-2/+4
| | | | | | | | | | | | | | | | | | | | f.number_field generates <input type="number", size="30"../> which is invalid HTML5. See: http://dev.w3.org/html5/spec/Overview.html#number-state
* | | | Merge pull request #1163 from amatsuda/sexier_migration_31Aaron Patterson2011-11-044-13/+36
|\ \ \ \ | |/ / / |/| | | Sexier migrations
| * | | Tests for new create_table DSLAkira Matsuda2011-05-201-0/+20
| | | |
| * | | No "t." for the migration DSL!Akira Matsuda2011-05-203-13/+16
| | | | | | | | | | | | | | | | | | | | Now you can omit |t| block parameter and all the t. from your migration code, that means, the syntax looks more Rails-3-ish, like the routes DSL and ActionMailer DSL. Also, this change won't break any of your existing migration files, since the traditional syntax is still available.
* | | | Merge pull request #3507 from jmazzi/issue-3503Jeremy Kemper2011-11-032-2/+21
| | | | | | | | | | | | | | | | Preserve SELECT columns on the COUNT for finder_sql when possible
* | | | Stub find_template so that when handle_render_error is called in ↵Jon Leighton2011-11-031-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | ActionView::Template, we get to see the actual underlying error rather than a NoMethodError. This shows an encoding bug on Ruby 1.9.3.
* | | | Fix #3271.Jon Leighton2011-11-033-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Building the conditions of a nested through association could potentially modify the conditions of the through and/or source association. This is a Bad Thing.