| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|
|
| |
This works just fine, is less code, and reduces the risk of someone implementing a SQL injection vulnerability.
|
|
|
|
|
|
|
| |
The association guide previously recommended using a trick with single
quote delaying of string interpolation in order to handle setting association
conditions that would be evaluated at runtime. Using a proc is the new way as
this no longer works.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
example
|
|
|
|
| |
generator has changed.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
create is for creating
|
|
|
|
| |
associations of the belongs_to and has_one type
|
|
|
|
| |
archived LH project
|
|
|
|
| |
asssociation basics guide
|
| |
|
|
|
|
|
|
| |
ActiveRecord::Base.find.
Added `where` as a method to has_many and has_and_belongs_to_many collections.
|
|
|
|
| |
abandoned atm)
|
| |
|
| |
|
|
|
|
| |
's/[ \t]*$//' -i {} \;)
|
|
|
|
| |
when rendered.
|
| |
|
| |
|
| |
|
|
|
|
| |
particular the gotcha that deletion is direct
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
to Kai Krakow
|
| |
|
| |
|
| |
|
|
|
|
| |
accordingly
|