サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
TGS2024
www.perfectline.co
Ruby on Rails 3.x has given us a lot of syntactical sugar. Most of it are pretty small things, things you might not even discover unless someone told you. One of these things is being able to define flash messages with redirect calls in the controller. In this post I will do a really quick overview of that small feature and replicate it for render calls also – resulting in prettier code. Let’s get
Building Rails 3 custom validatorsActually this post is not so much about just building custom validators for Rails 3 but more like a in-depth introduction to how validations work in the old and new versions of rails. And in addition to that I’m going to implement Rails 3 compatibility for the validates_existence gem, which we maintain and use extensively in our projects. The “old” stuffFirst I’m
このページを最初にブックマークしてみませんか?
『www.perfectline.co』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く