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 @sgrif
@olivierlacan e.g. user.article_ids = [1] can delete records, and its really not apparent from the code.2 replies 0 retweets 1 like -
Replying to @sgrif
@sgrif@olivierlacan Yup. This. Nested attributes were one of my favorite things to love until I hated them.1 reply 0 retweets 1 like -
Replying to @erniemiller
@erniemiller@sgrif There are so many moving pieces to nested attributes I find it very hard to love them even when they work.1 reply 0 retweets 0 likes -
Replying to @olivierlacan
@olivierlacan@sgrif The simplest to explain gripe that I have is that it leaks a view-layer concern all the way down to the model.1 reply 0 retweets 0 likes
@erniemiller @olivierlacan @sgrif AKA Rails
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.