I just published the first article in a series where I implement a Unix shell in pure Ruby code.
February 16, 2012
Ruby Rogues 042 - Producing Content with Peter Cooper rubyrogues.com
This week, the Ruby Rogues welcome a past Rogue back to discuss producing content beyond programming. From newsletters to podcasts, membership sites and video how-tos, Peter Cooper shares his insight on branching out.
rails console show_routes method for your .railsrc file blog.dicksonlabs.com
We upgraded a couple of our projects to Rails 3.2.0.
In our .railsrc file we had a “show_routes†method, which we used all the time when developing new routes.
But it broke under rails 3.2.0, here is how we fixed it.
In our .railsrc file we had a “show_routes†method, which we used all the time when developing new routes.
But it broke under rails 3.2.0, here is how we fixed it.
February 15, 2012
If you like the railsapi.com documentation and are sad you can't get the latest Rails docs from it, I've built them for offline use.
A gemified plugin with Rails 3.2, Rspec, Capybara, Spork, and Guard namick.tumblr.com
It can be tricky to set up a new gemified Rails plugin (with the dummy application) to use Rspec and friends rather than the default test-unit. Here’s how I did it.
Get those instance variables out of my specs! reefpoints.dockyard.com
Easy image processing and hosting service for rails apps wunderscale.com
Hey there Rubyists!
we recently launched wunderscale, a service that provides image processing for webapps (especially rails).
This might be especially interesting for developers that work on projects with a lot of image uploads on platforms with file system restrictions (heroku) or very limited resources.
wunderscale.com
Thanks, we hope you will find it useful!
we recently launched wunderscale, a service that provides image processing for webapps (especially rails).
This might be especially interesting for developers that work on projects with a lot of image uploads on platforms with file system restrictions (heroku) or very limited resources.
wunderscale.com
Thanks, we hope you will find it useful!
RubyMine 4 is Out — Speed Up with Ruby and Rails IDE jetbrains.com
RubyMine 4, the latest major release of the intelligent Ruby on Rails IDE from JetBrains, brings significant performance improvements, a brand new UI, improved CoffeeScript and SCSS/LESS editors, and many other features. Read more and download RubyMine 4.
Introducing Gemfury - It's Dropbox for Rubyists gemfury.com
We've just launched Gemfury: Private Gem Server cloud service. If you have packaged some private code into RubyGems, but have had problems deploying them to your hosts, Heroku, or other cloud platforms, I recommend you find out more about us.
ror_ecommerce 1.0.0 release!!! ror-e.com
I just released ror_ecommerce 1.0.0. I also gave a quick tutorial on how to setup ror_ecommerce on Heroku. Also take a look at the project on github. Enjoy Rails 3.2
The go command... areyoufuckingcoding.me
Thought, my recent blog post about new go command may be also interesting for the rubyists, check it out here.
February 14, 2012
Big Fat Rails - Creative Commons ebook/screencasts bigfatrails.com
Big Fat Rails is my latest project for learning Ruby on Rails. Any feedback on what you think would be valuable for a newbie to learn would be greatly appreciated.
More lib directory love! reefpoints.dockyard.com
This is my wishlist
Static analysis for your Ruby code with Pelusa blog.codegram.com
We just launched Pelusa, a static analysis tool for Ruby code, and also blogged about it!
I just pushed out version 0.5.0 of viewpoint-spws; a rewrite of the previously named viewpoint_spws library. It allows one to talk to Sharepoint through its web services. There is still a lot that needs to be done but the library allows for some basic List manipulation. Viewpoint-SPWS
Authenticating multiple models with a strategy pattern reefpoints.dockyard.com
This project provides translations for the devise gem in various languages - many languages have missing translations so if you can contribute, please do so!
https://github.com/tigrish/devise-i18n
https://github.com/tigrish/devise-i18n
February 13, 2012
A while ago Miso migrated the primary database for our Ruby applications from MySQL to PostgreSQL. Back then, we had published a post explaining PostgreSQL setup and tuning in detail. Today, we published a followup post in the series explaining hot standbys, high availability and streaming replication and detailed instructions on how to set these up for your application.
Every Little Things Capistrano Does Is Magic rubyfleebie.com
That's the title of my new post on RubyFleebie. It's about the not so obvious things that capistrano does when you type cap deploy in a rails 3.1+ app.
Gumrider - API client for Gumroad github.com
SOA for the Little Guys rubysource.com
I just published an article titled SOA for the Little Guys. It covers breaking apart a monolithic app into services with testing and Sinatra as the driving forces.
Visualizing a network with the Neography gem and D3.js maxdemarzi.com
Ruby nested hash trickery helps visualize a network using Neo4j and the Cypher language.
Ruby 1.9.3 on Mac OSX Lion via RVM: Success Story unfoldingcode.com
Your Rails app deserves to benefit from the faster loading performance brought by Ruby 1.9.3!
This post explains how to successfully install Ruby 1.9.3 on Mac OSX Lion, via RVM.
This post explains how to successfully install Ruby 1.9.3 on Mac OSX Lion, via RVM.
Check out this week's internal talk slides at Codegram (taken from our blog):
Basic Chrome Extensions: Marc Divins introduced us to the creation of some extensions. Warning: Intense trolling ahead!
Object Oriented Nirvana: Oriol Gual refactored some of our Spinach codebase by applying some Object Orientation's best practices taken from The ThoughtWorks Anthology
Basic Chrome Extensions: Marc Divins introduced us to the creation of some extensions. Warning: Intense trolling ahead!
Object Oriented Nirvana: Oriol Gual refactored some of our Spinach codebase by applying some Object Orientation's best practices taken from The ThoughtWorks Anthology
Last weekend, I won 1st place at the 2012 API Hackday NYC with my submission Spotify Water Cooler. It is a Spotify playlist manager that interacts with Spotify playlists (intended to be played on a shared space/office computer blasting Spotify). The water cooler bit refers to a simple non-persistant web chat as well as the awesome Twilio Client API integration for a voice chat from the browser. The app was built with Sinatra. Enjoy!
Not use time_ago_in_words rails-bestpractices.com
Rails provides helper method
time_ago_in_words to calculate the time distance, but it's not good, we should use client side solution instead, Not use time_ago_in_wordsJustifying TDD/BDD & Technical Debt ror-e.com
It's time to turn the task of making a schedule for the business folks into a time to Justify TDD/BDD & Technical Debt. Too often we just give a time based schedule. Spend less time on your schedule and more time justifying Best Practices. Flip what you hate doing into a meeting about what you love.
February 12, 2012
MailCatcher – a super simple SMTP server that intercepts email for testing blog.thefrontiergroup.com.au
MailCatcher has been around for a while now, but there's been numerous updates, so definitely worth a look if you haven't started using it in development.
MailCatcher – a super simple SMTP server that intercepts email for testing
MailCatcher – a super simple SMTP server that intercepts email for testing
Signing SOAP messages using X.509 certificates blog.genuitytech.com
TL; DR
Need to sign SOAP messages in Ruby with a X.509 certificate? Check out our forks of Savon and Akami. I have to give credit where credit is due. @amiel with Carnes Media did almost all of the work. I just fixed a bug and updated their work to play nice with the latest version of Savon.
Read the full post here.
Need to sign SOAP messages in Ruby with a X.509 certificate? Check out our forks of Savon and Akami. I have to give credit where credit is due. @amiel with Carnes Media did almost all of the work. I just fixed a bug and updated their work to play nice with the latest version of Savon.
Read the full post here.
Deloyment with Vlad dennisreimann.de
I just wrote a blog post about application deployment with Vlad.
February 10, 2012
Parsing Dates and Times From Strings Using Strptime rakeroutes.com
As much as we’d prefer to just deal with nicely formatted data; the real world sometimes requires that we parse weird date/time strings. Learn how to parse dates and times using strptime and turn those weird strings into actual DateTime objects.
The document at www.atalon.cz now contains an appendix: Comparison with Smalltalk-80.
Spree 1.0.0 Released spreecommerce.com
We're pleased to announce the official 1.0.0 release of Spree Commerce. Spree is a 100% open source e-commerce platform for Ruby on Rails. If you haven't tried Spree yet (or if its been a while since you last tried it) head on over to spreecommerce.com to find out more.
I just pushed out version 1.1.0 of the Ruby GSSAPI library.
Changes include:
* cleaner loading of MIT or Heimdal libraries (your choice)
* Added support for Ruby 1.8.x because of requests to do so.
* Some minor fixes and improvements to the Simple wrapper
* additional examples
Changes include:
* cleaner loading of MIT or Heimdal libraries (your choice)
* Added support for Ruby 1.8.x because of requests to do so.
* Some minor fixes and improvements to the Simple wrapper
* additional examples
Ruby Rogues 041 - Code Metrics rubyrogues.com
This week the Ruby Rogues welcome their guest Rogue, Bryan Helmkamp, to discuss code metrics, what that is, and tools and services to derive and report that data in a number of useful (and some scary) ways.
February 09, 2012
Using (Optional) Anonymous Blocks as Function Arguments rakeroutes.com
A brief tutorial on adding optional anonymous blocks as function arguments.
New engine generator features in Refinery 2 retro.apicko.cz
I just released new article introducing new RefineryCMS engine generator features on my Retro Rubies blog. New major Refinery version will be released soon. So if you want to keep in touch, you can discover new features right now.
Heidi - An attempt at simple CI, like CI-Joe heidi-demo.organisedminds.com
I just earned sponsorship from OrganisedMinds for Heidi, a CI attempt.
Go checkout the front-end at heidi-demo.organisedminds.com/
(And please visit my sponsor too : organisedminds.com/)
Go checkout the front-end at heidi-demo.organisedminds.com/
(And please visit my sponsor too : organisedminds.com/)
Emerging Trends in Ruby on Rails Development in 2012 info.exist.com
In this post, a few Ruby on Rails developers and experts share their trend predictions in Ruby on Rails development in 2012.
Don’t name your Ruby project with underscore on Github blog.xdite.net
I just wrote an article about project name SEO.
Ruby naming convention told Ruby developer to name everything with underscore. So every developer names their projects with underscore.
But it’s a giant SEO mistake: Search Engine treats snake_keywords as CamelKeywords. If your project’s name contains meaningful keywords, it won’t be matched. Because “snake_keywords†means “SnakeKeyword†not “snake keywordsâ€.
Ruby naming convention told Ruby developer to name everything with underscore. So every developer names their projects with underscore.
But it’s a giant SEO mistake: Search Engine treats snake_keywords as CamelKeywords. If your project’s name contains meaningful keywords, it won’t be matched. Because “snake_keywords†means “SnakeKeyword†not “snake keywordsâ€.
I have just completed version 1.0.0 of Mongoid::Token - a little library for generating short, unique tokens for your mongoid documents. Great for keeping your URLs nice and short.
A Lightweight Alternative to DCI code.isdangero.us
With all the talk about putting models on a diet with DCI, I thought I'd write about how I used the Command Pattern to achieve similar goals in my aptly-named turn-based strategy game Elite Command.
Designing Rails API using Rabl and Devise blog.joshsoftware.com
Enabling RESTful API access for Rails application is easy. However, the complexity arises when some responses are expected in xml format and JSON format. Complexity increases manyfold when these API calls need authentication. Sethu explains how to use Rabl and Devise for designing your API access.
February 08, 2012
For the last week or so, I've been trying to build a framework which does for email what Sinatra/Rack have done for web application development. It's not nearly production ready, but Newman now has good documentation of its implementation, and I'd love to hear what people think of it. I could really use some help, since email is not something I'm an expert on.
DCI Role Injection in Ruby mikepackdev.com
Many people have been wondering the proper way to inject Roles into Data objects with DCI. I tackle this topic in DCI Role Injection in Ruby.
