05 Jun '12, 10am

[Ruby Forum] collection_select, howto add html-class or style:

Here's an example of the code I'm trying to get working... <%= collection_select('book', 'book_type_id', all_book_types, 'id', 'name', :prompt => "Select Book Type...", :style => "width:200px" ) %> I've tried a bunch of different permutations but can't get the style width to even appear in the html output. Putting the style hash in braces with or with the "html_options =" explicitly called out doesn't help. I've Googled and looked at the API but can figure this one out. Any ideas? DAN

Full article: http://www.ruby-forum.com/topic/91719

Tweets

Style for Dummies

Style for Dummies

golfdigest.com 11 Jun '12, 4pm

Whenever we have a style question at Golf Digest, we walk down the hall and consult our fashion director, Marty Hackel (ak...

Estimated Traffic Net Worth $18,260. Daily Ad R...

domainnameforum.com 10 Jun '12, 4am

Only list traffic domains please. Proof hits and traffic source.

404 from | FASHIOLISTA | love your style!

shoehunting.com 04 Jun '12, 10am

Welcome to ShoeHunting, the online community for shoe lovers! ShoeHunting invites you to create your own lists, add shoes ...

A ruby implementation of NServiceBus

rubygems.org 04 Jun '12, 6pm

rservicebus 0.0.1 A ruby implementation of NServiceBus install gem install rservicebus Download Documentation Subscribe St...

Ruby Internals: Exec

rubyflow.com 03 Jun '12, 11pm

Ruby Internals: Exec Posted by oscardb on June 03, 2012 — 0 comments This article explains how Ruby implements exec in C. ...