Articles

Faker – Ruby gem

Installation

cmd>gem install faker

Basic use:

require ‘faker’

puts c=Faker::Name.name

output:

lemon arora

Fill your MYSQL DB with faker gem.

Code:

require ‘mysql’
require ‘faker’

db = Mysql::new(”localhost”, “root”, “”, “jazzezravi_development”)
i=1
while i < 1000 do

Three reasons to love ActionController::Responder

A couple weeks ago, I wrote about the newly added ActionController::Responder which summarizes your application behavior for a specified format in just one place. For example, the default html behavior is written as:

Git for Non-Programmers

alecthegeek has a tutorial over at Sitepoint for non-programmers titled Git: Your New Best Friend.

Check it out if you or someone you know could use some version control in their life.

Cassandra and Ruby: A Love Affair? (Key-Value Stores Part 3)

Most of today’s up and coming key-value stores are more than just simple key-value stores. You saw this when we looked at Tokyo Cabinet which, in addition to simple key-value capabilities, adds more sophisticated abilities, such as database-like tables. In this post we’ll look at Cassandra — a modern key-value store that continues this trend. Cassandra was originally developed by Facebook and released to open source last year.

PostgreSQL - 作成

PostgreSQLはパワフルなオープンソースのオブジェクト・リレーショナルデータベースシステムです。
15年以上にわたってアクティブな開発が続けられ、信頼性やデータの完全性、正確さを高く評価された実績あるアーキテクチャを備えています。

Startup for sale on eBay (and it’s a great deal)

One of the best programmers I know is selling a web application on eBay, that he’s been developing and running for the past three years. Given the starting price and considering what one lucky person or company will walk away with, I must say, it’s an amazing deal. I’m writing about his auction here so that I can help it get the proper exposure it deserves and because I think it’s an incredible bargain for anyone who is interested!

Managers Shift Blame, Leaders Accept Responsibility

 Managers Shift Blame, Leaders Accept Responsibility

Managers shift blame, whereas leaders accept responsibility

Double Shot #529

I’ll likely be doing a Snow Leopard upgrade on my main dev box some time next week – after I have a good bootable backup. Meanwhile, I’ve collected a bunch of links to (I hope) avoid some of the trouble spots.

Simplifying Rails Block Helpers (With a Side of Rubinius)

We all know that <%= string %> emits a String in ERB. And <% string %> runs Ruby code, but does not emit a String. When starting working with Rails, you almost expect the syntax for block helpers to be:

Rails Magazine Issue 4 (print edition)

Rails Magazine Issue #4 (“The Future of Rails”) is now available (in print) at http://railsmagazine.com/issues/4

From interviews with Matz, Koichi, DHH and Yehuda, to exclusive coverage of Ruby Kaigi and our regular, in-depth technical articles, this should make a great read for any Rails developer.

The free digital edition (pdf) is well underway and will be available in less than 2 weeks.

Thank you,
Olimpiu Metiu
Editor-in-Chief | Rails Magazine

Promotions | Rails Fire

Promotions

Book Promotion: The Joy of Clojure

Book Promotion: The Joy of Clojure
RubyLearning is pleased to announce the promotion of the book “The Joy of Clojure” by author Michael Fogus and Chris Houser. The general idea of a book promotion is that it gives the participants a chance to ask relevant questions, interact with the author of the book and in the process possibly win a copy of the book, all for free!

Ruby eBook Sale Proceeds for HelpAge India – Will You Join Me?

Today when I logged onto my computer a Calendar notification popped up at me telling me that it has been 4 wonderful years of Ruby programming for me. Time flies when you’re having fun!

So how does one celebrate a Ruby birthday?

Ruby has given a lot to me. It’s helped me meet some great people, it’s given me a more global perspective on life and provided my family with a good income (to name just a few benefits).

But I want more….

Interview: Author Peter Cooper

Our Book Promotion: “Beginning Ruby 2nd Edition” starts soon. Win one of four books to be given out for active participation. The coolest thing? Author Peter Cooper will be on site to answer questions! Click here for more details. Here, in this brief interview, Satish Talim of RubyLearning talks to Peter Cooper.

Book Promotion: Beginning Ruby 2nd Edition

Book Promotion: Beginning Ruby 2nd Edition

RubyLearning is pleased to announce the promotion of the book “Beginning Ruby 2nd Edition” by author Peter Cooper.

Beginning Ruby 2nd Edition

Book Promotion: Ruby on Rails for Microsoft Developers

Book Promotion: Ruby on Rails for Microsoft Developers

RubyLearning is pleased to announce the promotion of the book “Ruby on Rails for Microsoft Developers” by author Antonio Cangiano.

Ruby on Rails for Microsoft Developers

Interview: Author Gregory Brown

Our Book Promotion: “Ruby Best Practices” starts soon. Win one of four books to be given out for active participation. The coolest thing? Author Gregory Brown will be on site to answer questions! Click here for more details. Here, in this brief interview, Satish Talim of RubyLearning talks to Gregory Brown.

Gregory Brown

Book Promotion: Ruby Best Practices

Book Promotion: Ruby Best Practices

RubyLearning is pleased to announce the promotion of the book “Ruby Best Practices” by author Gregory Brown.

Ruby Best Practices

Interview: Author Eldon Alameda

Our Book Promotion: “Foundation Rails 2” starts soon. Win one of four books to be given out for active participation. The coolest thing? Author Eldon Alameda will be on site to answer questions! Click here for more details. Here, in this brief interview, Satish Talim of RubyLearning talks to Eldon Alameda.

Eldon Alameda

Book Promotion: Foundation Rails 2

Book Promotion: Foundation Rails 2

RubyLearning is pleased to announce the promotion of the book “Foundation Rails 2” by author Eldon Alameda.

Foundation Rails 2

Interview: Author David Black

Our Book Promotion: “The Well-Grounded Rubyist” starts today. Win one of four books to be given out for active participation. The coolest thing? Author David A. Black will be on site to answer questions! Click here for more details. Here, in this brief interview, Satish Talim of RubyLearning talks to David A. Black.

Syndicate content