20 Jul '12, 3pm

rake db:test:prepare - Ruby Forum:

I'm having fun with a legacy DB (SQL Server), and in the process found some code in rails/lib/tasks/databases.rake which feels wrong. 0) Errors which occur during this phase of a rake:test or rake:spec tend to be ignored, although they are logically fatal. In the best case, this means that the stack trace when an error finally does manage to stop the process is worthless. Best case. 1) Prepare's strategy is to dump the current schema, blow away the test db, and then rebuild the test schema from the dump. This strikes me as dangerous in the event that someone has mucked with the db outside of a migration--that is, made a change that won't get reflected in source control. Wouldn't it be safer to just blow away the test db & do the migrations to rebuild? 2) db:structure:dump for sqlserver requires the scptxfr executable, which is part of the SQLServer package--not the client....

Full article: http://www.ruby-forum.com/topic/143390

Tweets

America's Highest-Earning Chefs Rake in Millions: The epicurean world has been getting much more appreciation an...

America's Highest-Earning Chefs Rake in Million...

justluxe.com 20 Jul '12, 11pm

world has been getting much more appreciation and recognition within the past few years than ever before, with many chefs ...

merge two arrays into a hash - Ruby Forum:

ruby-forum.com 20 Jul '12, 2am

Hi all, I have looked at some of the answers in the forum, but they do not seem to fit. I want to merge two array into a h...

How to change the Timeout::Error threshold for ...

ruby-forum.com 19 Jul '12, 2pm

> Does anyone know how to fix this? I want it to wait longer for > the web server to respond. Look in the docs/code and yo...

Para los interesados en la comunidad ruby gdl. ...

ruby-forum.com 19 Jul '12, 8pm

Hola, Estoy interesado en iniciar una comunidad de Ruby en Guadalajara Mexico. Antes de iniciar reuniones o cualquier otra...

Bundler: The best way to manage Ruby applications

gembundler.com 22 Jul '12, 11am

As a result, bundler comes with a --deployment flag that encapsulates the best practices for using bundler in a deployment...

"The will to win means nothing without the will...

runnersworld.com 19 Jul '12, 10pm

where you post your daily mileage, then give out the Web address to your friends and family. Do you really want Aunt Ellen...

@alindeman got props from @rubyfive for his rai...

ruby5.envylabs.com 07 Jul '12, 9pm

July 6th, 2012 In today's episode, Ruby 1.8.7 gets a final bit of love, a text editor poll, stubbing your constants, perfo...

@solojavier @hackergil @edgarjs @dabit @mrebola...

ruby-forum.com 20 Jul '12, 5pm

Hola Javier, te comparto lo que pienso. Genial! Hay muchas personas interesadas en Ruby en México, eso es bueno. Tanto per...

Ruby on Rails Guides (edge) - #rails #ruby

edgeguides.rubyonrails.org 23 Jul '12, 10am

Ruby on Rails Guides (580fa0c) These are Edge Guides , based on the current master branch. If you are looking for the ones...

jubatus (0.1.0): Jubatus client for Ruby

rubygems.org 20 Jul '12, 8am

jubatus 0.1.0 Jubatus client for Ruby install gem install jubatus Download Documentation Subscribe Stats Authors Jubatus T...

How to get the directory of the current script?...

ruby-forum.com 22 Jul '12, 11am

> File.dirname(__FILE__) will give you the current file's path. The current file may be accessed with a relative path. If ...

Ruby Weekly - Issue 102

rubyweekly.com 20 Jul '12, 3am

Welcome to issue 102. I'm busy preparing for the next run of Ruby Reloaded , my online Ruby course aimed at intermediate R...

Pluto - Another Planet Generator in Ruby

rubyflow.com 19 Jul '12, 8pm

Pluto - Another Planet Generator in Ruby Posted by geraldbauer on July 19, 2012 — 0 comments Lets you build web pages from...