On 16 December 2010 18:20, Ryan F. <[email protected]> wrote:
> I have never programmed in ruby

hmmm... I'm going to say "sorry" in advance, in case this seems a
little harsh - it's not meant to be, but just my arm's length
evaluation of your situation.

Is it really a good solution for you to be making amendments to this
site? Given that the original developer obviously wasn't massively
proficient with Ruby/Rails idiom and good practice, and you confess to
being new to the language too, isn't it most likely that whatever
changes you make are going to increase the entropy of the system
rather than reduce it?

Are there no Ruby-experienced freelancers in your area you could
engage for a little help? If only to show you how to achieve what you
need doing, and check it after you've done it?

I raise the point, not to belittle your attempts at picking through
the code you've inherited (and let me guess... the original developer
didn't write many comments.... they never do!), but just from my
experience, you might regret increasing the complexity/spaghetti when
you look back at it after you have gained some more experience with
Ruby (it's such a beautiful language... and so many people butcher it
:-/

All the best,
Michael


PS
  <% for item in 0..$gItems %>
     <td id="col<%=h item.to_s %>">
       <%= "col" + item.to_s %>
     </td>
  <% end %>

blurgh! ;-)

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

Reply via email to