11 Nov '12, 4pm

String interpolation & some favorite resources | Week 12 Ruby/Rails Q&A #rubyonrails

dkeefe November 11, 2012 Week 12 Ruby/Rails Q&A Well, I finally got Carrierwave running with some help from my friend Beverly. I was so focused on one area of the code that I forgot to install the RMagick gem. I had a few glitches with uploading because the commented out default in the image_uploader.rb says “process :scale => [200, 200]” which gave me an error on “scale” so I changed the wording to “process :resize_to_limit => [250, 250]” and it worked fine. Q. What is “String Interpolation”? A. String Interpolation is the process where ruby takes an input value and inserts it into a string of code. For example: print “What’s your first name?” first_name = gets.chomp puts “My name is #{first_name}!” “My name is YOUR NAME!” When prompted for your first name, the second line of code sets “first_name” to whatever the input is, then the final output will use the value given f...

Full article: http://thecommongeek.com/index.php/week-12-rubyrails-qa/

Tweets

Lies that Ruby on Rails people tell you: Comments:

news.ycombinator.com 10 Nov '12, 3pm

My disclaimer (and bias) is I'm a hardcore linux dev and never touch windows unless its forced upon me. So with that said,...

Drumbeat: November 12, 2012

theoildrum.com 12 Nov '12, 2pm

Because we do not know the real US role in the imposition of martial law here, most of our people are still cheering the U...

#webdevelopment Ruby on Rails - oDesk: Ruby for...

odesk.com 12 Nov '12, 7am

Ruby for existing CSS/html code into MySQL database. heavy in video/ images and stripe payment experience all a plus.

Daily SG: 12 Nov 2012 #sgdailynews

Daily SG: 12 Nov 2012 #sgdailynews

singaporedaily.net 12 Nov '12, 2am

Credit: Cyberpioneer : “Remember the 3 NSFs who helped a wheelchair-bound old lady to her bus in the pouring rain?” Unique...

We have an intro to Ruby on Rails course runnin...

unboxedconsulting.com 13 Nov '12, 11am

Unboxed Consulting's Web Application Development using Ruby on Rails course is a week long, hands-on training programme th...

Ruby on Rails Project by Fragolino78

freelancer.com 18 Nov '12, 6am

Freelancer.com (formerly GetAFreelancer) is the world's largest outsourcing and crowdsourcing marketplace for small busine...

Ruby on Rails Programmer Needed ASAP by yamone

freelancer.com 11 Nov '12, 2am

Project ID: 2637893 Project Type: Hourly Hours of work: 10 hours / week Project Duration: 1 - 3 months Project Description...

Building video chat confidence, fixing bad migr...

twitter.com 18 Nov '12, 3pm

Developer @ PureCharity.com, advocate for education, ruby & rails, passionate servant, and always my family's biggest fan.

Learn by Doing - No setup. No hassle. Just lear...

codeschool.com 24 Nov '12, 3am

"Code School is seriously bad-ass, next-generation learning." David Heinemeier Hansson Partner, 37Signals "Thanks to my ne...

The Substation TODAY/THIS WEEK #2 (Moving Image...

substation.org 12 Nov '12, 3am

First Take is a popular screening monthly screening of new local short films and is followed by a Q&A with the filmmakers....

Senior Ruby on Rails developer for an innovativ...

careers.stackoverflow.com 12 Nov '12, 3pm

We’re Hiring a senior Ruby on Rails developer. s[edition] is a digital arts ecommerce company building a next generation p...

Thanks! :-) It's already 12 November in Singapore! Happy birthday @jasondchen #musicneversleeps

Thanks! :-) It's already 12 November in Singapo...

instagram.com 11 Nov '12, 4pm

It's already 12 Novemeber in Singapore! Happy birthday @jasondchen X ;-)

New post: "Ruby on Rails Developer" #jobs #Melb...

jobsense.com.au 17 Nov '12, 3am

VIC-Melbourne, Back and front end development CBD location Three month contract Government department This government depa...