...I'm wondering if you can help me get something straight. Maybe you can help me understand one fucking thing right now, America, and explain to me what in the Christ is going on here. 'Cause, unless I'm missing something, this country is in the middle of a motherfucking shitstorm, and I have no fucking idea what you're gonna do to get out of it.
Displaying articles with tag rails
Posted by paul, Fri Jan 11 13:13:00 UTC 2008
With the holiday madness and all, I have been neglecting my blog. I have a few posts I am working on and should have up soon. In the mean time, you should read the Jimmy Carter article on onion. He is almost as angry as Zed Shaw.
Posted by paul, Thu Mar 15 10:21:00 UTC 2007
I went looking for a rails gem to detect browser types, and stumbled across this great little snip it of javascript code, inspired by 37 signals. It allows you to create CSS rules for specific browsers, versions, and even platform. I don't think I will ever see CSS the same way again.
From http://rafael.adm.br/css_browser_selector/
From http://rafael.adm.br/css_browser_selector/
.ie .example {background-color: yellow}
.ie6 .example {background-color: #A02601}
.ie7 .example {background-color: #993d53}
.gecko .example {background-color: gray}
.win.gecko .example {background-color: red}
.linux.gecko .example {background-color: pink}
.opera .example {background-color: green}
.konqueror .example {background-color: blue}
.webkit .example {background-color: black}
.example {
width: 100px;
height: 100px;
}
.no_js { display: block }
.has_js { display: none }
.js .no_js { display: none }
.js .has_js { display: block }
Posted by paul, Thu Feb 15 14:13:00 UTC 2007
via Daily Kos
I know that Dail Kos is one of the most popular political blogs on the internet. What was that I kept hearing about rails not scaling? ;-) Hardware is cheap, but developers are not.
...after a lot of conversation we had narrowed down the candidate frameworks for the new Daily Kos 4 platform to the three we felt were the closest match for our team and our needs: Ruby on Rails; Django, using Python; and mod_perl, which is what the current architecture is based on.
After more examination and discussion, the choice is now been made: we've decided to go with Ruby on Rails. While the Scoop framework is robust, the internal design we're going for is going to be different enough that it's time to start from scratch, and we believe Rails to be the best choice for our ongoing plans.
I know that Dail Kos is one of the most popular political blogs on the internet. What was that I kept hearing about rails not scaling? ;-) Hardware is cheap, but developers are not.
Posted by paul, Wed Feb 14 03:02:00 UTC 2007
via Revolution On Rails
Steve Case was on Good Morning America talking about Revolution Health, which is a rails app. At Achieve, I have been working on Lime.com, which is part of Steve Case's Revolution Living. When we took on the development of the site, it was in perl mason, but before perl it was also in Rails. We ended up moving the site over to Drupal but apparently there is an affinity for Rails over there at revolution
Steve Case was on Good Morning America talking about Revolution Health, which is a rails app. At Achieve, I have been working on Lime.com, which is part of Steve Case's Revolution Living. When we took on the development of the site, it was in perl mason, but before perl it was also in Rails. We ended up moving the site over to Drupal but apparently there is an affinity for Rails over there at revolution
Posted by paul, Fri Jan 26 12:34:00 UTC 2007
www.zebrarc.comProject: Site rebuild
Languages: Ruby, Javascript, HTML
Database(s): MySQL
I led the design and development of an online product catalog and CMS for Hitec. The site was Developed in Ruby on Rails, and integrated technologies such Ajax, DHTML, ferret and Google Maps.
Posted by paul, Fri Jan 26 10:16:00 UTC 2007
I just got Mephisto up an and running on media temple. Pretty simple setup using these instructions The instructions recommend checking out the latest source from the SVN trunk, but i couldn't get the latest version running and just ended up using the latest release.
If you haven't heard of it, Mephisto is a rails blogging application.
Posted by paul, Tue Jan 23 10:33:00 UTC 2007
My company, Achieve Internet, sponsored the last, San Diego Ruby User Group meeting so that sd.rb could give away some great books. They also gave out one free movie from peepcode. I had glanced at the peepcode site once before but hadn't watched any of the videos. After watching the FREE video on Capistrano I was hooked. This was just what I needed since I am going to be configuring a new rails hosting we are collocating this Friday Friday.
These peepcode videos are well edited hour long tutorials covering some interesting and advance rails topics. I went ahead and bought the 5 pack subscription.
I have to say, this video self publishing concept is a great idea. One of the things helped rails catch my attention were the Get Excited Videos. Maybe its because I have always been an audio visual learner, but I would like to see a lot more of it. Given the revver peep code videos the next time my girlfriend decides to turn on one of those MTV reality shows.
These peepcode videos are well edited hour long tutorials covering some interesting and advance rails topics. I went ahead and bought the 5 pack subscription.
I have to say, this video self publishing concept is a great idea. One of the things helped rails catch my attention were the Get Excited Videos. Maybe its because I have always been an audio visual learner, but I would like to see a lot more of it. Given the revver peep code videos the next time my girlfriend decides to turn on one of those MTV reality shows.
Posted by paul, Fri Jan 12 02:54:00 UTC 2007
HitecRCD is a ruby on rails site I recently built for my current employer, achieve internet. One problem that recently came up was that product names are alpha numeric (ie: HS-35HD, HS-45HD, etc.), and need to be sorted as such. I came across this little posting via a quick Google search and voila...
A small + 0 to my category model was all it took.
What's interesting to me is not really this little MySQL trick, but rather that the first link I click on (3rd on the page) turned up how to solve my problem in rails, when all I searched for was mysql sort numeric. I think it's kind of testament to the thriving rails community and it willingness to share.
1 2 3 4 5 |
has_many :products, :class_name => "Product", :foreign_key => "product_category_id", :order => 'name + 0 ASC' #before, it was :order => 'name ASC' |
What's interesting to me is not really this little MySQL trick, but rather that the first link I click on (3rd on the page) turned up how to solve my problem in rails, when all I searched for was mysql sort numeric. I think it's kind of testament to the thriving rails community and it willingness to share.








