Things that amaze me about Rails in a good way: make an association, build a form with association_ids, and boom, auto-created association.
-
-
Replying to @olivierlacan
@olivierlacan Would still prefer requiring an explicit call on the server instead of magically as a side effect of assignment.2 replies 0 retweets 0 likes
Replying to @olivierlacan
@olivierlacan Something like user.articles.replace(params[:article_ids])
11:13 AM - 17 Mar 2016
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.