RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Submit a post

You can use basic HTML markup (e.g. <a>) or Markdown.
Note that your post may be edited to suit the format of the site.

As you are not logged in, you will be
directed via GitHub to signup or sign in

Post Preview

Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.

If you are using to_json, you are doing it wrong

At Miso, we have been building out a public platform for developers around our service. This means building out many public RESTful endpoints. We have already hosted the first of many developer contests and the submissions were excellent. We ran into a number of challenges while building our public API and our latest post details our frustrations with to_json and why we would never use it to build a clean JSON API. Check out our post and we would love to hear about other people’s experiences.

DNote 1.6: Get Some Context

Just released a new version of DNote (github). This release allows you to output context with your notes. Just select the number of contextual lines to include via the -c option. Currently only HTML, YAML and JSON output formats support context –other formats will gain support in the future. Note that the old -c option for --custom has been capitalized to -C.

google_places - A Ruby wrapper around the Google Places API

As you may have heard Google has recently opened up its Places API for developers, allowing us to retrieve detailed info about spots using GPS coordinates. I’ve just released the google_places gem which provides a simple wrapper to easily use the Google Places API in your own project. Readme is on Github.

Do you have Java Wrapper classes for request and response parsing for Google Pl…

Recursively Setting Deep Hash Value

I’ve always wanted to be able to do something like:

@sutto your version does’nt work with ruby 1.8.7 (at least not for me). but 1.9…
Both solutions are nice. But I was wondering if you are familiar with ruby face…
didn’t you already post it, http://www.rubyflow.com/items/5667-recursively-sett…
http://devguru.pl/post/6032714814/recursively-setting-deep-hash-value-revisited…

How to create a shopping cart.

If you are interested in how ror_ecommerce’s cart works or are just creating your own cart, you should take a look at the video i just created. I go over the cart and how the cart_items are transferred from a cart item to an order/order_items.

Sorry, broken link !
what browser are you using? I dont have IE. Works on my mac.
broke on FF on mac. chrome works.
should be working now

PopraviMK project open-sourced

I have open-sourced PopraviMK project (both web and mobile applications). If you are looking for some good code examples on using tools like: cucumber, rspec, shoulda, factory_girl, pickle, email_spec I would suggest reading the source code. And, you can also read the source code of the mobile application (Android) which is built with Titanium mobile platform.

Loading older posts