Ruby on Rails Monday, August 2, 2010

Hey Dave,

I was "baby sitting" my 14-yo granddaughter for a week, so that kept
me away from my project. Thinking about my project during some idle
time today, I realized I should put my setup-code in the Vendor-
controller. As I was about to that, I reread your post to and
discovered you had provided an answer buried in a lot of distracting
verbiage:

> you're putting controller logic in your view

That's the simple and direct answer to my question. I appreciate you
providing it and wish that it had been provided as the first line of
your response. Nevertheless, thank you for confirming what I thought
about today.

Best wishes,
Richard

On Jul 20, 4:24 pm, Dave Aronson <googlegroups2d...@davearonson.com>
wrote:
> On Tue, Jul 20, 2010 at 16:08, RichardOnRails
>
> <RichardDummyMailbox58...@uscomputergurus.com> wrote:
> > I know of no threshold of Rails expertise before posting questions on
> > this newsgroup.
>
> Nope, nor even for posting answers, as I amply demonstrate.  <:-)
>
> > I suspect that people with high levels of Rails respond to a question
> > like mine:
> > - in order to enlarge the "Rails community"
> > - for: the joy of helping their fellow humans
> > - with the expectation the their responses will bring the consulting
> > opportunities
> > - or heap scorn on those whom they perceive as inferior
>
> I think you have read more into my post, than I intended.  I certainly
> did not mean to heap scorn on you, only to help you realize what
> specific concept you seem to be failing to understand.  Putting a name
> on it helps you find information about it.  You seem to be in need of
> brushing up on MVC because you're putting controller logic in your
> view, and apparently some people have corrected you on this
> (anti-)pattern several previous times.  (Unfortunately, controller and
> view are not like chocolate and peanut butter....)
>
> Peace?  Joy?  Consultancy?  ;-)
>
> -Dave
>
> --
> Specialization is for insects. | Professional:http://davearonson.com
> -Robert Anson Heinlein         | Programming:  http://codosaur.us
> -------------------------------+ Leadership:  http://dare2xl.com
> Have Pun, Will Babble!  -me    | Et Cetera:    http://davearonson.net

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment