Manually re-blogged from http://ianlotinsky.wordpress.com/2010/09/24/rails-path-and-url-helpers/
Sometimes I forget the simple differences between Rail’s helpers. This mini post is so I don’t forget.
*_path
Generates relative URLs: /users
Used in views by link_to, form_for, etc. (per DHH)
The browser maps relative URLs to absolute URLs based on the current page’s protocol and host (/users on the page http://domain.com/new translates to http://domain.com/users)
*_url
Generates absolute URLs: http://domain.com/users
Used in controllers by redirect_to (per DHH) because RFC 2616 states that redirects must be absolute URLS. This is true, however, modern browsers can handle relative URL redirects now too
In today’s modern society, how often do we find ourselves logging into websites and obsessing over the numbers that come out? Logging in to check our Twitter followers, our 401k portfolio, our pay-per-click advertising campaign click through rate, our bank accounts, how many people are occupying Wall St., how many jobs we’re losing, your Klout score, how many votes Obama is gonna get.
Do these numbers really matter? Do they improve our lives somehow? Do they improve the lives of our family and friends? Do they make us happy?
I introduce to you a piece of Web Application Software that exemplifies the vacuous, meaningless implications of the numbers we obsess about.
RandoNum, the place to get your daily number. Sign up for daily numbers today!
Most Popular Infographics
Pretty solid summary of Infographic cliches…

Mercedes-Benz SLK350 Roadster
OR
Bertelli Lugged Steel, Single-speed Bike

“Fuck You. Pay Me.” The rallying cry for anybody who’s done client services in their life.
Millions of people* sit at their desk jobs, bored, dreaming up side businesses they can start while “working” to make a little extra cash. These people aren’t greedy or trying to screw their company over, in fact they’re usually the most clever and hardest working.
This was me a few years…
The history of my life (in bulleted list form):
- Born in the Heartland of ‘merica
- Lived in Queens
- Lived in NJ
- Graduated college
- Worked as a Microsoft developer, first VBScript ASP, then C# .NET
- Freelanced as Ruby on Rails and PHP developer
- Started a service company, Simande
And as of this month:
- Started a product company, Onepager


