addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscontroller-playcrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1light-bulblinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonprintShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

Re: [ruby-121] Pairing project question

From: Paul E.
Sent on: Wednesday, March 20, 2013 4:46 PM
I just enabled the message board.

-- Paul

On Wednesday, March 20, 2013 at 4:21 PM, Stuart wrote:

I have a question that came up while working on the pairing project. I am at the point where I need to create the association between contacts and campaigns. Obviously I can just add the has_many and belongs_to associations, but my question is: would you create a test for that association first? If so, what would that test look like? I'm assuming it would be a model rspec test, maybe something like "campaign.contacts.size.should eql(0)"?

Also, would it be possible to enable the Message Board feature for this group so we can post questions and answers without sending email to the entire group?
Thanks!
Stuart





--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Stuart ([address removed]) from RubyJax.
To learn more about Stuart, visit his/her member profile: http://ruby.meetup.com/121/members/6108367/
Set my mailing list to email me

As they are sent

In one daily email

Don't send me mailing list messages
Meetup, POB 4668 #37895 NY NY USA 10163 | [address removed]

Our Sponsors

  • Ascentis

    Hosts meetings and provides pizza and drinks!

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy