| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | | |
In response to this rails issue: https://github.com/rails/rails/issues/3729
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
In the sentence "If <tt>@post.author_ids</tt> is [1], this would ..."
the array [1] is converted in a footnote, fixed this using <notextile>.
|
| | | | |
| | | | |
| | | | |
| | | | | |
I've personally seen too many newbies get this wrong and pluralize the association
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Tagged logging for which Rails has support since [3.2](http://guides.rubyonrails.org/3_2_release_notes.html#tagged-logging).
It is trivial & useful but unless somebody explicitly searches API docs, he/she may not know about it.
Hence, I added it in guides.
|
| | | | |
| | | | |
| | | | |
| | | | | |
<pre> block.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Changed the title of the 3.5 chapter from "Using the change Method" to
"When to Use the change Method" since the chapter tells the migration
definitions supported by the change method. This fix the duplicate ID in the
document.
I've also changed some of the titles to respect the Guides guidelines.
|
| | | | |
| | | | |
| | | | |
| | | | | |
skip]
|
| | | | |
| | | | |
| | | | |
| | | | | |
erb tag wasn't closed well
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
In chapter 2.4 there was an underscore at the start of the attr_readonly method name,
this underscore was interpreted as the opening of the <em> tag but it wasn't closed.
Worst, the underscore in self.class.serialized_attributes (end of paragraph)
was interpreted as the closing of the <em> tag and not as the name of a method.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Use internal instance variable naming scheme for mounted URL helpers
|
| | |/ / /
| |/| | | |
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
removed warning: shadowing outer local variable
|
| | |/ /
| |/| | |
|
|\ \ \ \
| | | | |
| | | | | |
Raise MissingAttributeError on query methods
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When calling a query method on an attribute that was not selected by
an ActiveRecord query, an ActiveModel::MissingAttributeError is not
raised. Instead, a nil value is returned, which will return false once
cast to boolean.
This is undesirable, as we should not give the impression that we know
the attribute's boolean value when we haven't loaded the attribute's
(possibly) non-boolean value from the database.
This issue is present on versions going back as far as 2.3, at least.
|
|\ \ \ \
| | | | |
| | | | | |
set default_headers to nil after use it to avoid order dependent tests
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
prijutme4ty/fix_require_necessary_for_generating_guides
Fixed missing require
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Missing require caused fail of guide generation (in
action_dispatch/http/mime_type, line 295, undefined method `ends_with`
for "to_ary":String)
With this fix guides were normally generated
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
improve AR CHANGELOG [ci skip]
|
|/ / / / |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Also just set the hash value instead of merging when it's only one key.
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Add a separator option for the excerpt function.
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The separation option enable to keep entire words, lines or anything.
To split by line, like github, we can set the separation option as \n.
To split by word, like google, we can set the separation option as " ".
The radius option represent the number of lines or words we want to
have in the result.
The default behaviour is the same. If we don't set the separation
option, it split the text any where.
|
|\ \ \ \
| | | | |
| | | | | |
Dump schema using new style hash
|
| |/ / / |
|
|\ \ \ \
| |/ / /
|/| | | |
Tests for session handling
|
| | | | |
|
|/ / / |
|
| | |
| | |
| | |
| | |
| | | |
Merged in f41dba27a411fe3e2ddeb8d9ab6856dbb23acd02
[ci skip]
|
|\ \ \
| | | |
| | | | |
postgres, map scaled intervals to string datatype
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* There is no need to delete the primary key from cloned attributes,
since it sets the same pk to nil afterwards.
* Check for empty? instead of any? to run initialize callbacks.
|
|\ \ \ \
| | | | |
| | | | | |
Improve error message for memcache session store when dalli isn't loaded
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
transaction.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Check 0180e090ab6cbe66f7b521a0c03e278a0463accd for more reasoning about
that.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Check 0180e090ab6cbe66f7b521a0c03e278a0463accd for more reasoning about
that.
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Due to a change in builder, nil values and empty strings now generates
closed tags, so instead of this:
<pseudonyms nil=\"true\"></pseudonyms>
It generates this:
<pseudonyms nil=\"true\"/>
Document this change in Rails so that people can track it down easily if
necessary.
|