July 28, 2010 at 2:22 pm · Filed under Usability, Web Development
Recently Windows Live introduced Single-Use code a very simple and effective way to Sign-In to your Live account from a public computer like at the library or school. You can now use a Single-Use Code instead of your password for added security.

Requesting a Single-Use Code:
Each Single-Use Code can be used only one time, but you can request one whenever you need one. When you request a Single-Use Code, you receive it in a text message to a mobile phone number that you’ve added to your Windows Live account.

Permalink
July 23, 2010 at 12:24 pm · Filed under Ruby on Rails
To add content from a RSS feed to your site using Rails:
# rss.html.erb
Permalink
July 20, 2010 at 11:21 am · Filed under ColdFusion
A bit late to the party but Adobe released ColdFusion 9 update 1 (9.0.1) a few days ago. The top features in this release:
- ORM support for multiple data sources in the same application
- Amazon S3 support for both storing and consuming files in your ColdFusion applications
- Support for IIS 7
- New script functions implemented as CFCs
- Support for BlazeDS 4 and LCDS 3
- Configurable seed for password encryption
- Server monitoring upgraded to run as a separate server to handle load conditions
In addition, there are some enhancements related to Language, Caching, Ajax, SpreadSheet, Solr, and Logging and scores of bug fixes.
Related Links:
- FAQ
- Release Notes
Permalink
July 15, 2010 at 2:01 pm · Filed under Ruby on Rails
If your Rails application is just consuming a Web Service and has no need for a database than all you have to do to is uncomment the following line in environment.rb
Permalink
July 14, 2010 at 1:22 pm · Filed under Ruby on Rails
The class Array has a method called each_with_index which provides the index as well as the value.
Example:
Permalink