| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Chapter 9 is giving a user and set of addresses example.
So 'Add a new address' would be more consistent.
Also change the javascript to JavaScript.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
[ci skip] Update plugins.md
|
| | | | | | |
| | | | | | |
| | | | | | | |
Highlighted code.
|
|\| | | | | |
| | | | | | |
| | | | | | | |
Update 3_2_release_notes.md
|
| | | | | | |
| | | | | | |
| | | | | | | |
Fixed typo and applied proper code highlighting.
|
|\ \ \ \ \ \ \
| |_|_|/ / / /
|/| | | | | | |
Fix typos: the indefinite articles(a -> an).
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Copy-edits
[ci skip]
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | | |
[ci skip] Documentation on how to create custom rake tasks.
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| |_|_|_|/ / / /
|/| | | | | | | |
[ci skip] Add missing setting locale code snippet.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Now all links point to the correct line number.
|
| |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This is for 3 Internationalizing your Application of i18n.md.
Missing the code as mentioned in 2.3, setting locale.
Without this, the example to add config/locales/pirate.yml will not work.
|
|\ \ \ \ \ \ \
| |_|_|/ / / /
|/| | | | | | |
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
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]
|