Quantcast
Channel: Mynewsdesk Devcorner » Richard
Browsing all 10 articles
Browse latest View live

The “returning” method explained

This one you will find all over the Rails code. The “returning” trick is a really neat way to refactor ugly patterns, such as this one: object = [] object << "foo" if bar? object Into this:...

View Article



swedish_pluralize plugin: Swedish pluralization rules for Rails

For those of you looking for Swedish pluralization for Rails, I just refactored this module of ours into a plugin. You can find it on GitHub: http://github.com/newsdesk/swedish_pluralize/tree/master...

View Article

New rake task for the Tranlsate plugin: Google Translate

We just pushed the latest addition to the Translate plugin which adds a new rake task: “rake translate:google FROM=sv TO=en”. This will translate all keys in sv.yaml using Google Translate into english...

View Article

Committing to Rails Core

In our last post we talked about upgrading to Rails 2.3, and the issues we encountered. One bug we found was that multiple POST requests issued in a test didn’t reset the post parameters between...

View Article

Image may be NSFW.
Clik here to view.

We are off to @media, London!

Tomorrow, we are off to @media, London. Hope to see you there! If you see someone looking like us – don’t hesitate to say hello! We imagine London to be something like this:

View Article


Simplest bit.ly API implementation possible?

To use an URL shortener in your project, I would strongly recommend bit.ly. It let you set a custom URL (name) and track traffic, clicks and conversations on micro blogs. But best of all, it should be...

View Article

Image may be NSFW.
Clik here to view.

Lär dig mer om din site med Google Analytics Event Tracking

Google Analytics är fullt av möjligheter! Många funktioner tror jag aldrig används för ditt genomsnittliga projekt. Och det är synd, eftersom funktionerna är gratis, ger massor av bra information, och...

View Article

Image may be NSFW.
Clik here to view.

Använd Open Graph-protokollet för att anpassa Facebook Likes

Vi lade nyligen till Open Graph-funktioner på Mynewsdesk, med vilka vi kan styra hur våra Facebook Likes ser ut på Facebook. Open Graph är ett protokoll ursprungligen framtaget av Facebook, och har...

View Article


Image may be NSFW.
Clik here to view.

Meet Flower, the Flowdock bot

Flowdock is a team collaboration and group chat service, similar to Campfire. Flowdock is also the group chat service of choice here at the R&D dept. To make it more fun and/or usable, we made this...

View Article


Image may be NSFW.
Clik here to view.

Stockholm Startup Hack — Trackr!

Last weekend me, Jonas and Martin spent 12 hours hacking at the Startup Hack in Stockholm. It was a great hackathon, and we actually managed to get some kind of a product out! At breakfast we...

View Article
Browsing all 10 articles
Browse latest View live




Latest Images