Pullmonkey - pullmonkey.com - PullMonkey Blog
General Information:
Latest News:
Dynamic Select Boxes - Ruby on Rails 3 11 Aug 2012 | 09:11 am
Over 4 years ago, I wrote a tutorial for doing dynamic (cascading) select boxes. Still getting comments and emails to this day. Mostly asking how to get this working with rails 3, which has moved from...
VIN API - Do you know about the complete data set? 4 Aug 2012 | 11:42 pm
Looking at our data trends for VIN API, we show about 15% of all requests are for the complete data set. It's the same price as the basic data set and rich with a ton of data. Check out the data set f...
Using Ruby to read from a MagTek USB Card Reader 27 Jul 2012 | 11:39 pm
Been playing around with a lot of USB devices lately, to get them to play nicely with some of our touch screen Rails apps. One of the devices is a card reader - specifically a MagTek reader, and the ...
Signature Pad in Linux 27 Jul 2012 | 12:57 am
I'm using the topaz model T L462 HSB. It's nice now that it works. But what a PITA to get it going. The biggest problem with the device is the documentation. There is no low level documentation explai...
Using HTTPI with Curb to do multipart file uploads with spnego 26 Jul 2012 | 06:25 am
It took a while to find a library that handled spnego requests, as opposed to shelling out to a curl --negotiate. Found httpi to work well with the curb adapter. The problem was that the documentatio...
Rubygem version incompatability with older Rails versions 31 May 2012 | 03:35 am
We maintain a rails 2.3.8 application and haven't had to touch it in quite some time. But when we did, we came across this error: Then after applying the solution found here, we started getting this ...
Headers and Footers in ruby’s Spreadsheet gem 27 Apr 2012 | 07:17 am
Have you ever needed to add a header or footer to your spreadsheets in ruby? Yah, well, we have Yes, you can do this with the Write Excel gem. But we've already written years worth of spreadsheet c...
Ruby’s stacked conditionals - who knew? 11 Mar 2012 | 11:40 am
puts "hello readers" if you_are_a_reader if you_can_read unless you_already_read_it I was playing around with some project euler code I'm working on (anyone else figure out the Pencils of Rays with c...
Formgen 0.3.0 and some generated examples 17 Nov 2011 | 02:01 pm
Formgen generates views in erb and haml based on these keywords: has_many, belongs_to, accepts_nested_attributes_for, and has_attached_file. It follows best practice and standard patterns so you don't...
Form Gen - ruby on rails gem 16 Nov 2011 | 06:38 pm
I've always dreaded doing the view code for nested attributes, setting up the helpers, the javascript, partials etc. Just so tedious, so I thought, I'd try my hand at a form generator. This generator ...