29547HowToDoTestDrivenDevelopmentInRailshttp://wiki.rubyonrails.com/rails/pages/HowToDoTestDrivenDevelopmentInRailsTest-driven development is A Good Thing. There are many sites out there that will give you abstract discussions on why you should be doing it, so this page won?t dwell too much on that. This is intended to give a basic ?recipe? to follow, mostly for those new to the subject. You should read HowtoFunctionalTest and HowtoUnitTest , if you haven?t already.Ruby on Rails > Tips and TutorialsOct 16, 2006n/a
One of the coolest things I ran across in RJS was the delay method. This delay method will do just that and delay a number of seconds. So lets say you need to highlight something that was just added to the page after the user submits it. I would like it to add to the page then wait 1 second and then highlight. The following is the code for that.
Ruby on Rails is an open source Web framework causing a lot of excitement among Web developers. By supporting agile development techniques and a philosophy of "convention over configuration," it has enabled many developers to radically reduce the time and pain involved in creating Web applications.
Test-driven development is A Good Thing. There are many sites out there that will give you abstract discussions on why you should be doing it, so this page won?t dwell too much on that. This is intended to give a basic ?recipe? to follow, mostly for those new to the subject. You should read HowtoFunctionalTest and HowtoUnitTest , if you haven?t already.
Yukihiro "Matz" Matsumoto was looking for an object oriented scripting language. Python wasn't OO enough. Perl's "Swiss Army Chainsaw" approach was too messy. When he didn't find what he was looking for, Matz decided to write his own language. His goal was to create one good enough to replace Perl. Ruby was born in February of 1993 and first released to the public in 1995. Today, Ruby is more popular than Python in Japan. Ruby started hitting the shores of the United States around 2000.
Although Ruby On Rails has support for various markup languages like textile and markdown via RedCloth and BlueCloth gems, often simple HTML is more preferable solution(like "Some HTML is OK" on Flickr). This article contains simple Ruby function ae_some_html which allows usage of basic HTML tags and converts everything else to entity-escaped HTML code.
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.