Skip to content

Instantly share code, notes, and snippets.

View acesuares's full-sized avatar

Ace Suares acesuares

View GitHub Profile
# Cast is the old database, Client is the new...
Cast.all.each do |cast|
Client.create(
{ id: cast.id,
family_id: cast.family_id,
family_member_id: cast.member_id,
first_name: cast.voornaam,
last_name: cast.achternaam,
middle_name: cast.tussenvoegsels,
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@acesuares
acesuares / waterschappen.topojson
Created October 21, 2013 09:04
waterschappen
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@acesuares
acesuares / gist:5945309
Created July 7, 2013 23:07
rails not working?
in the new project (3.2.13)
#!/usr/bin/env ruby_noexec_wrapper
#
# This file was generated by RubyGems.
#
# The application 'railties' is installed as part of a gem, and
# this file is here to facilitate running it.
#
source 'http://rubygems.org'
gem 'rails', '~> 3.1.3'
gem 'rake'
gem 'jquery-rails'
gem 'mysql2'
gem 'capistrano'
gem 'will_paginate', :git => 'git://github.com/acesuares/will_paginate.git', :branch => 'rails3'