On Wed, Oct 5, 2016 at 12:33 PM, George Stoumpos <[email protected]> wrote:

> here's my code http://pastebin.com/X4c40WYn
> look for the profnews action

So what's not happening that you expect? Or happening that you
don't expect?

I would probably move all that build logic into a service object to
make it easier to test, but regardless, do you have a failing test for
this?

If not, creating one would be a good place to start :-)

-- 
Hassan Schroeder ------------------------ [email protected]
http://about.me/hassanschroeder
twitter: @hassan
Consulting Availability : Silicon Valley or remote

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yDNWEvTb-xydm%2B6ArPnFMZ64mwe0Rd5-h5Gy3gpf7_jHw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to