Skip to content

Instantly share code, notes, and snippets.

:bowtie:
Focusing on @planetargon at the moment

Robby Russell robbyrussell

:bowtie:
Focusing on @planetargon at the moment
View GitHub Profile
@robbyrussell
robbyrussell / languages.md
Created May 1, 2018 — forked from joshsusser/languages.md
languages I've been paid to program in
View languages.md
  1. assembler
  2. bash
  3. BASIC
  4. C
  5. C++
  6. Dylan (aka Ralph)
  7. HyperTalk
  8. Java
  9. JavaScript
  10. Lisp
View Setting up RSpactor with Cucumber Support on OS X Leopard
I use Cucumber 0.3.97. Your mileage may vary with older versions.
# install rspactor
sudo gem install guillaumegentil-rspactor
# Change your database.yml to include the following
test: &TEST
database: your_database_name_here
<<: *login
View helping starjugg1n in #ror.rb
def auto_complete_for_search_query
if params.has_key( :search_query ) and not params[:search_query].blank?
search_query = "%#{params[:search_query]}%"
@cars = Car.find( :all, :conditions => [ 'title LIKE ?', search_query ] )
render :partial => "search_results"
end
end
def search_query
auto_complete_for_search_query
You can’t perform that action at this time.