Category Archives: Ruby on Rails
Devise, Omniauth, and Facebook
For the Colorado Springs Ruby Users’ group meeting on 1/19/2012 I made the embedded presentation to highlight how to setup Devise with Omniauth and Facebook. Devise and Rails View more presentations from William Leeper Most of this is pretty much … Continue reading
Nested_Form meets Twitter Bootstrap using twitter_bootstrap_form_for
I have been playing pretty heavily with twitter bootstrap lately and while incorporating it into an existing site found that I couldn’t use the great twitter_bootstrap_form_for gem with nested_form. Doing a little digging I found how nested_form handles various builders. … Continue reading
Rails 3.1 on Heroku and adding the Amazon CDN
I have been spending the last week tuning up an application we support at work. It really is a massive piling of steaming dung in places too. Anyway after getting through a whole bunch of other performance issues, I turned … Continue reading
Rails 3.2.rc1 and acts_as_taggable_on
Being the masochist that I am, I gave the new release candidate of Rails a spin on the first day. Lots of stuff changing. Took the better part of the day on my main project to get things up and … Continue reading
Hiring a Ruby on Rails programmer
I work for Onyx Government Services. We are a small privately owned Government services company. We have a number of clients already and are landing more using our Ruby on Rails experience to bring rich UI and fast delivery times … Continue reading
Validating against LDAP in Ruby on Rails
How I setup Ruby on Rails to authenticate my site using an LDAP server like a Windows Domain Server. Continue reading
prawnto, prawn and partials
Ran into some interesting gotchas with partials and the prawnto library. Prawn is a powerful low level PDF coding library for ruby. The prawnto plugin creates a template method for generating PDFs using templates and prawn. I was coding along … Continue reading
Issue with Nokogiri on Ubuntu 10.04 and JRuby
Switched to JRuby recently and have entered a whole new world of unsupported libraries. While Ruby seems to be quite well supported, getting information on JRuby specific issues is much harder. The problem I encountered could very well be an … Continue reading
Setup Netbeans on OSX and Oracle OCI8 for Ruby on Rails
I switched over to Netbeans on OSX from TextMate after using Netbeans a lot on my ubuntu setup. First thing I ran into was the following error when I started the application. oci8lib.c:98:in oci8lib.bundle: OCI Library Initialization Error (OCIError) The … Continue reading
text_field_with_auto_complete pass multiple field values
In ruby on rails there is a method called text_field_with_auto_complete. By default it will call a method on your controller with the name auto_complete_for_<form>_<field>. It will pass in a param value for the field you are updating. The details of … Continue reading