i like the idea, but if i start refactoring with a decorator i come across one big problem.
if i wanna wrap a small method to a decorator like user.full_name i would have to make tons of decorators to wrap all my associations, like note.user.full_name, project.owner.full_name etc. well maybe its just realy for big view stuff. but i would love to use it also for the small parts.
hi,
i always get into problems testing the content of emails send with delayed_job. it should be pretty common to do so right ? haven't found any good solution for that... tips ?
why does that not work:
ruby
it "emails user when requesting password reset"do
...
Delayed::Worker.new.work_off
last_email.to.should include(user.email)
end
i like the idea, but if i start refactoring with a decorator i come across one big problem.
if i wanna wrap a small method to a decorator like user.full_name i would have to make tons of decorators to wrap all my associations, like note.user.full_name, project.owner.full_name etc. well maybe its just realy for big view stuff. but i would love to use it also for the small parts.
+ cancan not liking it :)
it should work see:
http://stackoverflow.com/questions/7270741/testing-emails-with-capybara-and-delayed-job/7281393#7281393
hi,
i always get into problems testing the content of emails send with delayed_job. it should be pretty common to do so right ? haven't found any good solution for that... tips ?
why does that not work:
?
hey,
is it possible to track files ? like images ? that would be nice :)