AppleII717 wrote:
> I'm trying to rewrite a fusebox-like application (Active4D plugin to
> 4D database) in RoR/postgres and I'm doing okay - but keep running
> into things that stump me.  

I've done a lot of work with Fusebox. It's a pretty good framework. 
Rails is nothing at all like it.  Don't expect much similarity. :)

> It seems like it takes me hours to figure
> out something that I could have written in pure code in minutes.

"Pure code"? What do you mean by that? Particularly in the context of 
coming from Fusebox, this seems meaningless.

Anyway, any learning process takes time.  That's the way it is.

> 
> The select_month and select_day helper has been my latest waste of
> time. All I'm trying to do is add a javascript onchange call and I
> can't get it to show up.

JavaScript onchange handlers belong in external JavaScript files, not 
within HTML.  Ideally it should be possible to look at your generated 
HTML and (except for a <script src> tag) not be able to tell whether any 
JS is involved.

(One of the few things I really hate about Rails is that it encourages 
mixing JS and HTML.)

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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