On Wed, Apr 23, 2014 at 7:01 AM, nathanvda <nathan...@gmail.com> wrote:
> Since 4.1 (afaik), the first call to a class does not return the model > introspection, but instead urges me to use `Batch.connection` to establish a > connection??? > Of course this is no biggie, but I am curious what the cause is of the this > behaviour, whether this is intended or not, and how I could circumvent it. I've noticed that, and it seems like a bug to me, but I haven't had the time to investigate. That said, this behavior doesn't occur when using `pry` for the Rails console, so just one more reason to make that standard :-) FWIW, -- Hassan Schroeder ------------------------ hassan.schroe...@gmail.com http://about.me/hassanschroeder twitter: @hassan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yBE7Y7oQTXE%3Ddr-YyHHkMJWCGAxZxF3UKxsXGUcKRPUSg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.