October 2011
1 post
“Here’s to the crazy ones, the misfits, the rebels, the troublemakers, the...”
– Apple Inc.
Oct 6th
July 2011
1 post
1 tag
Implementing SSL Tweet Button
According to Twitter doesn’t officially support Tweet Button over SSL. The main issue is that assets are served from subdomains that has “untrusted” SSL certificates, for example: https://platform1.twitter.com/. This is a big problem when you want people to share a site that’s served under https. To implement it we can do this: 1= link_to "Tweet",...
Jul 27th
February 2011
1 post
Identity Map and Active Record
As many of you may know Identity Map was merged recently into Active Record. Identity Map is a design pattern that: Ensures that each object gets loaded only once by keeping every loaded object in a map. Looks up objects using the map when referring to them. ZOMG! What does this mean? The following is an example of Active Record’s behaviour before Identity Map: 1 post =...
Feb 19th
1 note