Ruby on Rails almost on Version 3.1
Sun, Jul 17 2011 4:53 PM
I’m finally granting myself some time again to write about the interesting things that I run across in development.
Its always interesting to see what the Rails world is doing to see what's hip in development, because the Rails folks are hipsters and innovators.
This however isn’t always true.
Prepared statements are only now being built into Rails. This is quite surprising to me.
Prepared statements have long been a pretty good way of guarding against SQL injection.
So its a very good thing that they are being implemented.
CoffeeScript and SASS defaults now
SASS is an extended version of CSS, which adds nesting, variables and selector inheritance.
jQuery default now
Migrations (used for database changes) can be generated and no longer needs an up and down by default. Up and down are now ‘change’ and the down part will be inferred from the change command, wherever possible.
Things are divided into:
App, Lib, vendor
Looking forward to seeing how development will go with ROR, I will probably try to see how things will go with ROR and then try to see how things will go doing the same application with ASP.NET MVC.