3 ms·
It's the magic. The fact that rails extends data types and adds implied functions to your models without you having to tell it to. The fact that lines like:
by phamilton 16y ago
It's the magic. The fact that rails extends data types and adds implied functions to your models without you having to tell it to. The fact that lines like:
cookies[:remember_token] = { :value => user.id,
:expires => 20.years.from_now.utc }
Do exactly what you think they will, without having to define everything. That's the "magic" behind rails. It let's you focus on the application rather than the framework.