"Google: Evil or Not?" is my first Rails webapp and I''ve just made it public at http://evilornot.info Do you still believe the ?Do no evil? Google mantra? Do you think Google Book Search, the AOL deal, and Larry and Sergey?s 767 point to Google losing it?s pristine morality and turning over to the dark side? Now you can discover what the world thinks and contribute your own opinion. Head over to Google: Evil or Not? and vote with your mouse. Every day, the site presents you with a selection of relevant news snippets and, for each one of them, you can select the level of Google evilness, or lack thereof, that is suggested by it. Let the collective wisdom of the Web decide whether Google is evil or not! Ugo P.S.: Thanks to the folks at Planet Argon for helping me set it up. -- Ugo Cei Tech Blog: http://agylen.com/ Open Source Zone: http://oszone.org/
Cool site. Nice work. Michael Trier On 1/13/06, Ugo Cei <ugo.cei@gmail.com> wrote:> > "Google: Evil or Not?" is my first Rails webapp and I''ve just made it > public at http://evilornot.info > > Do you still believe the "Do no evil" Google mantra? Do you think > Google Book Search, the AOL deal, and Larry and Sergey''s 767 point to > Google losing it''s pristine morality and turning over to the dark side? > > Now you can discover what the world thinks and contribute your own > opinion. Head over to Google: Evil or Not? and vote with your mouse. > Every day, the site presents you with a selection of relevant news > snippets and, for each one of them, you can select the level of > Google evilness, or lack thereof, that is suggested by it. Let the > collective wisdom of the Web decide whether Google is evil or not! > > Ugo > > P.S.: Thanks to the folks at Planet Argon for helping me set it up. > > > -- > Ugo Cei > Tech Blog: http://agylen.com/ > Open Source Zone: http://oszone.org/ > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060113/a7182595/attachment.html
Is there a rails rhtml / tag to do something like this: <a href=''/search_action''><img src=''/images/button-on.gif'' border=''0'' onmouseover=''this.src="/images/button-on.gif"'' onmouseout=''this.src="/images/button-on.gif"'' alt=''Button''></a> Any ideas? Thanks,
Are the images necessary for this rollover? Have you considered using CSS to achieve this effect? -Derrick On Jan 13, 2006, at 6:32 PM, Mufaddal Khumri wrote:> Is there a rails rhtml / tag to do something like this: > > <a href=''/search_action''><img src=''/images/button-on.gif'' > border=''0'' onmouseover=''this.src="/images/button-on.gif"'' > onmouseout=''this.src="/images/button-on.gif"'' > alt=''Button''></a> > > Any ideas? > > Thanks, > > > > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
Unfortunately, yes .. require the rollovers using the images. Any ideas? Derrick Spell wrote:> Are the images necessary for this rollover? Have you considered > using CSS to achieve this effect? > > -Derrick > > On Jan 13, 2006, at 6:32 PM, Mufaddal Khumri wrote: > >> Is there a rails rhtml / tag to do something like this: >> >> <a href=''/search_action''><img src=''/images/button-on.gif'' border=''0'' >> onmouseover=''this.src="/images/button-on.gif"'' >> onmouseout=''this.src="/images/button-on.gif"'' >> alt=''Button''></a> >> >> Any ideas? >> >> Thanks, >> >> >> >> >> >> _______________________________________________ >> Rails mailing list >> Rails@lists.rubyonrails.org >> http://lists.rubyonrails.org/mailman/listinfo/rails >> > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails
I have 2 layouts xyz.rhtml and abc.rhtml. I have some common code in common.rhtml. I want to render common.rhtml in both xyz.rhtml and abc.rhtml. Que 1. What is the best way in ror to do this? Should I do the following in xyz.rhtml and abc.rhtml: <div> <%= render(:file => "common.rhtml", :use_full_path => true)%> </div> Que 2. If answer to above question is yes, then is my usage is correct? (Note: All three files are in app/views/layouts) Currently when I do the above I get the following error: ActionView::ActionViewError in Tracking#search_order Showing /app/views/layouts/xyz.rhtml/ where line *#20* raised: |No rhtml, rxml, or delegate template found for common.rhtml| Extracted source (around line *#20*): |17: </div> 18: </div> 19: <div> 20: <%= render(:file => "common.rhtml")%> 21: </div> | Thanks,
On 1/13/06, Mufaddal Khumri <mkhumri@allegromedical.com> wrote:> I have 2 layouts xyz.rhtml and abc.rhtml. I have some common code in > common.rhtml. > > I want to render common.rhtml in both xyz.rhtml and abc.rhtml. > > Que 1. What is the best way in ror to do this? > > Should I do the following in xyz.rhtml and abc.rhtml: > <div> > <%= render(:file => "common.rhtml", :use_full_path => true)%> > </div> > > Que 2. If answer to above question is yes, then is my usage is correct? > (Note: All three files are in app/views/layouts) > > Currently when I do the above I get the following error: > > > ActionView::ActionViewError in Tracking#search_order > > Showing /app/views/layouts/xyz.rhtml/ where line *#20* raised: > > |No rhtml, rxml, or delegate template found for common.rhtml| > > Extracted source (around line *#20*): > > |17: </div> > 18: </div> > 19: <div> > 20: <%= render(:file => "common.rhtml")%> > 21: </div> > | > > Thanks,You might also try render_partial(''/common''), where common.rhtml is moved to app/views/_common.rhtml James
I agree. Cool. One of the things that recently got me off my butt and started working with RoR is a need to do an on-line survey. What does it take to produce something like this? Is / are there ----- Original Message ----- From: Michael Trier To: rails@lists.rubyonrails.org Sent: Friday, January 13, 2006 1:09 PM Subject: Re: [Rails] [Announcement] Google: Evil or Not? Cool site. Nice work. Michael Trier On 1/13/06, Ugo Cei <ugo.cei@gmail.com> wrote: "Google: Evil or Not?" is my first Rails webapp and I''ve just made it public at http://evilornot.info Do you still believe the "Do no evil" Google mantra? Do you think Google Book Search, the AOL deal, and Larry and Sergey''s 767 point to Google losing it''s pristine morality and turning over to the dark side? Now you can discover what the world thinks and contribute your own opinion. Head over to Google: Evil or Not? and vote with your mouse. Every day, the site presents you with a selection of relevant news snippets and, for each one of them, you can select the level of Google evilness, or lack thereof, that is suggested by it. Let the collective wisdom of the Web decide whether Google is evil or not! Ugo P.S.: Thanks to the folks at Planet Argon for helping me set it up. -- Ugo Cei Tech Blog: http://agylen.com/ Open Source Zone: http://oszone.org/ _______________________________________________ Rails mailing list Rails@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails ------------------------------------------------------------------------------ _______________________________________________ Rails mailing list Rails@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060114/b761ba2e/attachment.html
I agree. Cool. Amusing topic, too ;-) The main thing that recently got me off my butt and started actively trying to get through a hands-on evaluation of RoR is a need to do an on-line survey. What does it take to produce something like this? Is / are there a tutorial(s) that would cover the basics? I''m a Ruby Nuby too, not just Rails. Thanks, Bill ----- Original Message ----- From: Michael Trier To: rails@lists.rubyonrails.org Sent: Friday, January 13, 2006 1:09 PM Subject: Re: [Rails] [Announcement] Google: Evil or Not? Cool site. Nice work. Michael Trier On 1/13/06, Ugo Cei <ugo.cei@gmail.com> wrote: "Google: Evil or Not?" is my first Rails webapp and I''ve just made it public at http://evilornot.info Do you still believe the "Do no evil" Google mantra? Do you think Google Book Search, the AOL deal, and Larry and Sergey''s 767 point to Google losing it''s pristine morality and turning over to the dark side? Now you can discover what the world thinks and contribute your own opinion. Head over to Google: Evil or Not? and vote with your mouse. Every day, the site presents you with a selection of relevant news snippets and, for each one of them, you can select the level of Google evilness, or lack thereof, that is suggested by it. Let the collective wisdom of the Web decide whether Google is evil or not! Ugo P.S.: Thanks to the folks at Planet Argon for helping me set it up. -- Ugo Cei Tech Blog: http://agylen.com/ Open Source Zone: http://oszone.org/ _______________________________________________ Rails mailing list Rails@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails ------------------------------------------------------------------------------ _______________________________________________ Rails mailing list Rails@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060114/7635fc16/attachment.html
Il giorno 14/gen/06, alle ore 21:15, Bill Walton ha scritto:> I agree. Cool. Amusing topic, too ;-) > > The main thing that recently got me off my butt and started > actively trying to get through a hands-on evaluation of RoR is a > need to do an on-line survey. What does it take to produce > something like this? Is / are there a tutorial(s) that would cover > the basics? I''m a Ruby Nuby too, not just Rails.I was a Ruby and Rails newbie as well but was able to put together the site in a few evenings. I relied almost entirely on the AWDR book for guidance. The only problems I had were with Ajax stuff not working as expected under Safari. I must say that development was a breeze. Ugo -- Ugo Cei Tech Blog: http://agylen.com/ Open Source Zone: http://oszone.org/
Ugo Cei wrote:> "Google: Evil or Not?" is my first Rails webapp and I''ve just made it > public at http://evilornot.info >Ugo, I''ve followed A LOT of your work with the Apache Cocoon project over the past couple of years. It''s good to see you over here. The site looks great, and I''m very much looking forward to having your input on this forum. Josh -- Posted via http://www.ruby-forum.com/.