2009/10/7 Chad Woolley thewoolley...@gmail.com:
On Tue, Oct 6, 2009 at 4:00 PM, Philippe Creux pcr...@gmail.com wrote:
I have few patches for active resource I would like to publish but I
can't get the test suite passing.
In: rails/activeresource (2-3-stable)
Running: rake test
Got the
On Oct 2, 6:30 pm, Joshua Peek j...@joshpeek.com wrote:
So David and I decided we both like schema for containing the list
of attributes and types for the model. It seems like a good fit for
any ActiveModel.
In ActiveResource's case, it will have an undefined schema by
default where it just
silly question but...
sudo gem install mocha
?
I know that caught me the first time I tried to run the test suite. :P
Cheers,
Taryn
On Oct 7, 12:00 am, Philippe Creux pcr...@gmail.com wrote:
Hi all,
I have few patches for active resource I would like to publish but I
can't get the test
Thanks! I can now set the template_root with
ActionMailer::Base.template_root=. However, it still is not finding
my template. It looks like an Array is not getting initialized.
I not using rails framework, since this is not a rails app. So, I did
not do the script/generate mailer Mailer to
On Wed, Oct 7, 2009 at 1:55 AM, James Mead jamesmea...@gmail.com wrote:
This is likely to be due to using Mocha = 0.9.6 when Mocha is being
loaded *before* Test::Unit.
You need to make sure you are loading Mocha *after* Test::Unit. There
are a number of ways of achieving this depending on
Okay, I tried to add a controller but don't know how to outside of
rails. A controller for a batch process should not be necessary,
right? Googling for answers and no one mentions using a controller
and most post are over 1-2 years old. Should I try a lower version of
ActionMailer, ActonPack,
I made a patch that adds an option to ActiveResource to use HTTP Digest
Authentication. If no auth_type is specified it will default to Basic auth.
As before, if you specify no user or password it will not perform any
authentication.
e.g.
class Foo ActiveResource::Base
self.user = bob
Okay, after trial and error I found my user error and all I have to
say is duh...to the dumbazz (me)!
I was loading my classes (models) and then setting the template_root.
Make sure you set ActionMailer::Base.template_root= BEFORE you load
YourMailer class.
Also, I did a require 'action_mailer'
Hi!
I'm trying to fix the bug, that polymorphic_url can't generate the url for
resources with a path_prefix with params in it. This is a pretty annoying
but, since path_prefix is a good solution to carry the locale (e.g.:
:path_prefix = :locale - /en/acticles).
I wrote a test and fixed the
https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/2076-rails-should-use-amp-instead-of-in-the-urls#ticket-2076-3
ActionView#url_for generates escaped URLs by default, whereas
ActionController#url_for doesn't. They should be consistent, and I
believe that ActionController's
And in case it wasn't obvious, that link is to a patch for this.
On Oct 7, 3:19 pm, Phil Darnowsky pdarn...@yahoo.com wrote:
https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/2...
ActionView#url_for generates escaped URLs by default, whereas
ActionController#url_for
I didn't know that the tests rely on mocha. So sudo gem install mocha did
the trick. :)
φ
On Wed, Oct 7, 2009 at 07:49, taryneast taryne...@gmail.com wrote:
silly question but...
sudo gem install mocha
?
I know that caught me the first time I tried to run the test suite. :P
Cheers,
12 matches
Mail list logo