Displaying 6 results from an estimated 6 matches for "antipattern".
Did you mean:
antipatterns
2008 Jan 30
2
Testing a call to super
Did any further discussion ever come of this? I take it is officially
not supported currently? I just get an odd error when I try it (it
throws a "0 expected 1 received", no matter what stubbing/expectation
combo I use), so came looking around on google, and finally the
mailinglist.
Here''s my stripped down example: http://pastie.caboo.se/145603 (it
fails with expects too)
2009 Mar 04
2
Testing my scripts?
...sure that when I run my spec suite
that all the code in my scripts gets tested as well? I thought about
adding "--test" option to all my scripts, but that seems, well...just
not the right way to do it.
Anyone have any words of wisdom they''d like to share? Have I walked into
an antipattern here?
Thanks much!
Sebastian
--
Posted via http://www.ruby-forum.com/.
2012 Mar 11
1
notifications (or flash messages) in an api application
...# do play with the user account, stocks and other stuff ....
end
what i am asking you: Is there any way to play with those notifications and errors without passing through the database? They are more like flashes, but the code is inside the model ... so, i don''t want to fall into an antipattern having session related info inside my model.
Thanks.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
iQEcBAEBAgAGBQJPXGznAAoJEAa2YjEk8CRGiZMH+wTPPfDTMTyiqStGSfbueFHe
0gXcF/TGoFTKjpxYsTgZ5Ew5PgBvcZESmN8lcmw6Zt3zMiupIvy+6tFGnWdmJIbr
myJ...
2016 Jan 26
3
Just need to vent
On Tue, Jan 26, 2016 at 11:51:29AM +0000, Peter Duffy wrote:
> I'm also still trying to figure out in what way systemd is supposed to
> be "better". I've seen the following things claimed for it:
Of the three things you list, hot-plug is certainly an important one.
But, it's not the big deal. The big deal is that systemd is not just a
fire-and-hope startup system, but
2013 Jun 12
3
puppet agent errors for non included module.
Does anyone know why i would get a module error for my ''base'' module that
I''m not even including for a node? I''m explicitly NOT include the ''base'',
yet puppet-client-t2 still errors when i pull it in. Snips from both are
below. Any ideas why this would happen?
Thanks,
JJ
====
site.pp file
[root@puppet-master-t1 puppet]# cat
2011 Oct 11
10
Create Two objects at the same time
I have user model and referral model. Referral model has user_id as
field.
Now when a new user is created, I need to call referral#create as well
and pass it the id of the newly generated user to user_id of referral
model. How can I do that.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to