This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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, |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |