AngularJS is a great way to build modern web apps and this affects Rails programmers. The combination of both is an excellent choice: Build your single-page app in Angular and let it communicate via JSON with your Rails-API backend (btw, this is exactly what we did for palava). However, you might ask yourself, what the best way to combine Angular and Rails is. Should you use the JavaScript tools world (grunt, yoeman, etc.) or should you prefer the Ruby tools (thor, sprockets)?
Hi, I am Jan. This is my old Ruby blog. I still post about Ruby, but I now do it on idiosyncratic-ruby.com. You should also install Irbtools to improve your IRB.
Three little tips for slimmer Rails migrations
Rails migrations are easy to understand and easy to write. However, you can save some unnecessary key strokes by applying these three tips :)
irbtools / Release the power of irb!
Equipped with some tools discussed at the germany.rb 2010 user group meetup, I’ve played around with my ~/.irbrc
and put together a little meta gem for some useful irb tools (github)
Requirements: A Mini RubyGems plugin
The .gemspec
file of a gem allows to specify requirements for that gem – but usually you do not get to see them. These five lines patch RubyGems, so that gem
displays the requirements of a gem after it has been installed: