module Api module V1 class ProductsController < ApplicationController class Product < ::Product # Note: this does not take into consideration the create/update actions for changing released_on def as_json(options = {}) super.merge(released_on: released_at.to_date) end end respond_to :...
It's been recently brought to my attention that I don't view open-source the way that many of my friends do. My attitude has always been: Here's some code that works well for what I want. If it works well for what you want, great! If not, I'm willing to make changes that improve the l...
May 15th, 2012 , posted in BOSH , ∞ , No comments I’m still very bullish on BOSH . I’ve been experimenting with it internally at work, looking to see how it could duplicate or improve upon our current infrastructure, automation and release management. I’ve also watched the commits tha...
At Engine Yard, we believe that you should have the flexibility to set up your environments and manage your data stores as you see fit. This is something we take seriously as we continue to evolve Engine Yard Cloud and today, we are happy to announce database-less environments as an a...
#351 A Look at Meteor May 16, 2012 | 15 minutes | Tools , Ajax Meteor is a JavaScript framework for building rich client-side applications. Here I re-create the Raffler app to compare with Backbone.js and Rails. Meteor may not be related to Rails, but I think many will find it interes...
User group leaders, listen up! We have an extra Full Experience tickets to php|tek , and we’d like to give it to the community to use . php|tek happens May 22-25 in Chicago, Illinois, and is jam packed with PHP goodness, including an Unconference and a Hackathon. I mean, have you seen...
I've been using git reset -p a lot recently and I think it makes sense to clarify what it is that it does because when I first started using it I found it a little confusing. I sometimes realize that an earlier commit contains some change that I don't want, so I want to remove it from...
Wednesday, May 16, 2012 at 5:47AM Wrote some good code yesterday, at the expense of not writing enough good emails. PostgreSQL 9.2 beta improves scalability, adds JSON - Lots of yummy goodness coming in the next version, which seems to be moving far faster than MySQL these days. Firef...
SheetMapper: Ruby Object Mapper for Google Spreadsheets Posted by nesquena on May 16, 2012 — 0 comments Just released version 0.0.1 of SheetMapper which supports mapping google spreadsheet rows into ruby objects. The use case is for easily parsing and traversing spreadsheet data in wh...
MaxMind support for Geocoder gem Posted by gravis on May 16, 2012 — 0 comments We've added Maxmind support to geocoder! You can see the pull-request and more details here : http://www.tech-angels.com/post/23158313900/maxmind-support-for-geocoder-gem Comments Post a Comment Comment...
In Rails 3 the non-database functionality of Active Record is extracted out into Active Model. This allows you to cleanly add validations and other features to tableless models.
Rack middleware and appilcation for serving dynamic pages in very simple way. There are no controllers and no models, just only views like a asp, jsp and php!
"Stay young, stay curious, stay hippy..." - доклад Дэвида Хайнемайера Хенссона с конференции "RailsConf 2012"Сергей Резванов В сети выложен видео-доклад Дэвида с конференеции "RailsConf 2012". Всем, кто еще не видел, очень советую... Молодой, знергичный, дерзкий и в то же время достат...
Dante, lets you put some daemon in your code Posted by shingara on May 16, 2012 — 2 comments I discover the Dante gem and I explain why I love it . Comments ===== http://www.clothes6.org ==== Air jordan(1-24)shoes $30 Handbags(Coach l v f e n d i d&g) $35 Tshirts (Polo ,ed hardy,l...