Take a look at some Rails testing resources -
http://guides.rubyonrails.org/testing.html
- take a look at the fixtures part.
I can't think of a reason not to have a separate testing database or
to try and run tests on the dev db, unless you are trying to re-invent
the wheel and make your own tes
Rajkumar Surabhi wrote:
> Marnen Laibow-Koser wrote:
>
> hi,
> May be but i need it to use single development database for both
> enviroments
Rails makes the right things to do very easy, and if you stray outside
that, well you made a conscious decision to go that route, and bear the
consequenc
stephenallred wrote:
> On Aug 17, 7:54�am, Rajkumar Surabhi wrote:
>> May be but i need it to use single development database for both
>> enviroments
>
> Why?
Why indeed? That's a BAD, DANGEROUS practice.
Best,
--
Marnen Laibow-Koser
http://www.marnen.org
mar...@marnen.org
Sent from my iPhon
On Aug 17, 7:54 am, Rajkumar Surabhi wrote:
> May be but i need it to use single development database for both
> enviroments
Why?
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@goog
Marnen Laibow-Koser wrote:
hi,
May be but i need it to use single development database for both
enviroments
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to r
Rajkumar Surabhi wrote:
> Hi,
>
> i want to use development database for my testing purpose.
No you don't. The point of a test database is to have something that
your tests can run against without messing with your dev data.
> The problem is with, when test cases are run, it deletes the data b
Anubhaw Prakash wrote:
> Rajkumar Surabhi wrote:
>> Hi,
>>
>> i want to use development database for my testing purpose.
>> The problem is with, when test cases are run, it deletes the data before
>> and after the test. but i dont want the data to be deleted.
>> how to do this.
>
> Hi Rajkumar,
>
Rajkumar Surabhi wrote:
> Hi,
>
> i want to use development database for my testing purpose.
> The problem is with, when test cases are run, it deletes the data before
> and after the test. but i dont want the data to be deleted.
> how to do this.
Hi Rajkumar,
You can duplicate your development d
8 matches
Mail list logo