http://recipes.sinatrarb.com/p/models/active_record

--Rob
Sent from my cell, please excuse any typos.
On Mar 5, 2015 8:37 AM, "Giedrius Rimkus" <[email protected]> wrote:

> No one else is having issues with migrations in non rails apps?
>
> On Monday, February 16, 2015 at 9:30:17 AM UTC+1, Giedrius Rimkus wrote:
>>
>> Hello,
>>
>> I've been using ActiveRecord and ActionMailer outside Rails.
>> Versions: 4.1.7
>>
>> Recently wanted to update to 4.2.0 and got an issue:
>>
>> NoMethodError: undefined method `env' for 
>> Rails:Module/Users/user/.rvm/gems/ruby-2.1.2/gems/activerecord-4.2.0/lib/active_record/connection_handling.rb:3:in
>>  `block in <module:ConnectionHandling>'
>>
>>
>> I've also commented in the commit, so you can have a look for more info
>> there.
>>
>> https://github.com/rails/rails/commit/290e8e117fd33189fec25d13b37e68
>> 6b27247ad1#commitcomment-9757150
>>
>> Any ideas on how to solve it?
>>
>> Thank you!
>>
>> Giedrius
>>
>  --
> 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 [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/rubyonrails-talk/55c849e5-0b13-47de-baa4-2f70fd7434ef%40googlegroups.com
> <https://groups.google.com/d/msgid/rubyonrails-talk/55c849e5-0b13-47de-baa4-2f70fd7434ef%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CAPncwvJX5OCbCFV%2BGD8N2EyfsvtNz7oecaj6LNqxg7Mxb-vm4A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to