Re: [Rails] action-mailer 4.2 question regarding custom templates

2015-10-23 Thread 'James B. Byrne' via Ruby on Rails: Talk
On Fri, October 23, 2015 03:19, Colin Law wrote: > > I have not used it, but since no-one else has suggested anything, > perhaps prepend_view_path is an option. > > Colin > Thanks. Funnily enough that is what I started with: self.prepend_view_path( Pathname.new( File.join( File.dir

Re: [Rails] Re: ActiveRecord/Supporty-4.1, undefined method `assertions'

2014-07-30 Thread 'James B. Byrne' via Ruby on Rails: Talk
For now we seem to worked around this problem by specifying the following code in a cucumber support file: require 'minitest/autorun' require 'test/unit/assertions' World( Test::Unit::Assertions ) require 'minitest' module Minitest attr_accessor :assertions end At least, things are n

Re: [Rails] Re: ActiveRecord/Supporty-4.1, undefined method `assertions'

2014-07-30 Thread 'James B. Byrne' via Ruby on Rails: Talk
On Wed, July 30, 2014 10:42, Matt Jones wrote: > The underlying issue is mentioned here in Minitest: > > https://github.com/seattlerb/minitest/blob/master/lib/minitest/assertions.rb#L8-L12 > > Whatever is including the `assert` functions needs to also define the > `assertions` accessor. > > Hard t