| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
before:
```bash
$ rails generate migration AddDetailsToProducts price:decimal{5,2} supplier:references{polymorphic}
```
after:
```bash
$ rails generate migration AddDetailsToProducts 'price:decimal{5,2}' supplier:references{polymorphic}
```
|
| | | |
| | | |
| | | | |
Change the plural of Deer word in the naming conventions
|
| | | |
| | | |
| | | | |
There's a div that is generated in rails for a default search form and is not includen in the example.
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
The right command for doing that is Client.exists?id:[1,2,3]
Exists does not work like find method, in find method you can do Person.find(1, 2, 6) or Person.find([7, 17]) but not Person.exists?(1,2,3) or Person.exists?([1,2,3])
|
| | | |
| | | |
| | | | |
In the example of join models, there are five models but in the explanation only consider Category, Post, Comment and Guest.
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | |/
| |/| |
|
| | |
| | |
| | | |
Active support --> Deprecations Code highlighted.
|
| | | |
|
| | | |
|
|\ \ \
| |_|/
|/| | |
[ci skip] Improves a sentence in guides/security
|
| | |
| | |
| | |
| | | |
Changed "... books make this wrong" to "... books get this wrong"
|
|\ \ \
| | | |
| | | | |
Use MiniTest::Unit::TestCase instead of Minitest::Test [ci skip]
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
Since Rails 4.0.x is depending on Minitest 4.x, the constant won't be
available so the gist won't run.
[ci skip]
|
|/ /
| |
| |
| | |
Actually it's Ruby i18n link.
|
| |
| |
| |
| |
| |
| |
| |
| | |
* Indent after private/protected
* Ruby >= 1.9 syntax for hashes
* Prefer method { do_stuff } instead of method{do_stuff} for single-line blocks.
[ci skip]
|
|\ \
| | |
| | | |
Document a difference between pluck and select [ci skip]
|
| |/
| |
| |
| | |
Explain that `pluck` differs from `select` in that it does not construct `ActiveRecord` objects and thus model-level overrides are unavailable.
|
|/
|
|
| |
dynamic finders [ci skip]
|
|\ |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Right now the comment was not rendering properly.
# The Expires* directives requires the Apache module
`mod_expires` to be
# enabled.
- After this change -
# The Expires* directives requires the Apache module
# `mod_expires` to be enabled.
|
| |
| |
| |
| |
| |
| | |
and activerecord tests
[ci skip]
|
|\ \
| | |
| | | |
change reference of `Test::Unit` to `Minitest` [ci skip]
|
| | |
| | |
| | |
| | |
| | |
| | | |
Previous was misleading; current is more up to date.
[ci skip]
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
jetthoughts/11803_update_move_forbidden_exception_description_before_show
[Getting Started Guide] Move Forbidden attributes description before show post section [ci skip]
|
| |/ /
| | |
| | |
| | | |
[ci skip]
|
|/ / |
|
|\ \
| | |
| | | |
Remove whiny_nils config from the rails guides [ci skip]
|
| | |
| | |
| | |
| | |
| | |
| | | |
This option was removed from master.
[ci skip]
|
|\ \ \
| |/ /
|/| | |
Warning on doc for assets under lib|vendor not precompiling
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Sometimes people ask what makes a feature and what makes a bug, so
let's clarify that so we can show it to people later.
|
| | |
| | |
| | |
| | |
| | | |
I don't know of anyone that hangs out in #rails-contrib, and we should
also let people know that feedback can take some time.
|
| | |
| | |
| | |
| | |
| | | |
Many people don't, so point them to a place where they can meet
some.
|
|\ \ \
| | | |
| | | | |
Add Finder API changes to upgrading guide [ci skip]
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Adds Akshay Surve to Rails Guides credits list [ci skip]
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
I had written the original guide for "A Guide to Testing Rails
Applications". The current documents maintains the same structure and
examples I had drafted albeit with some minor changes to keep up with
newer version of Rails.
Older version which had credits included:
http://guides.rubyonrails.org/v2.3.11/testing.html
Github lifo/docrails History:
https://github.com/rails/rails/commits/ff359af86505b4d317b7467e7f79aa2ef2c5e795/railties/doc/guides/source/testing_rails_applications.txt
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Add error message for including nokogiri in Gemfile for rake doc:guides
|