Ruby on Rails Saturday, December 1, 2012

On Sat, Dec 1, 2012 at 9:29 AM, Frederick Cheung
<frederick.cheung@gmail.com> wrote:
> Rails doesn't use rspec. It uses minitest (which is what test::unit is
> on 1.9). I don't think it has an equivalent fail fast option although
> there do appear to be some monkey patches floating around

What has what Rails uses to do with what you use personally? Are you
saying that because Rails uses Minitest I/(s)he/they/we can't use
RSpec, because all my Rails projects would like to have a word with
you if that's the case. Side note: Test::Unit is Minitest in 1.9. In
1.8 is when they /actually/ use Test::Unit (though I don't know if
that is the case with later versions of 1.8 since I took out about 1.8
something)

That said, if Minitest doesn't have a FF option then use
http://rubygems.org/gems/plymouth and I believe you'll be able to
throw out the `wtf?!?!?!?!?!!?` command right away and get the full
context around the last exception that happened and even run the REPL
to see how and why it happened.

--
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-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ruby on Rails

On Nov 30, 2:56 pm, Jordon Bedwell <envyge...@gmail.com> wrote:
>
> There is plenty of useful information, that is what logs are for, and
> a test log is kept, try looking in log/test.log which will have all
> that in there from start to finish of each request.
>
> > Does anyone know how to get Rails to emit all stdout immediately instead
> > of buffering it until after ALL tests have completed?
>
> With RSpec use fail fast.

Rails doesn't use rspec. It uses minitest (which is what test::unit is
on 1.9). I don't think it has an equivalent fail fast option although
there do appear to be some monkey patches floating around

If you're getting error messages with no context i'd guess that they
are occurring outside of an actual unit test, for example in the code
that inserts fixtures or something along those lines.

Fred

--
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-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ruby on Rails

On Sat, Dec 1, 2012 at 6:46 AM, Bhimasen Routray
<bhimasen.routray@gmail.com> wrote:
> i want to deploy two rails application in heroku..so how can i deploy two
> application with one account in heroku and github..i am little confused that
> i have to take two rsa public key or how..thanks in advance

This list is for Rails, not Heroku.
See: https://devcenter.heroku.com/articles/quickstart

--
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-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.