Latest Bookmarks on Ma.gnolia.com

Latest Bookmarks on Ma.gnolia.com

Code Intensity: Auto-Complete Text Fields in Rails 2

Code Intensity: Auto-Complete Text Fields in Rails 2

In Rails 2, the PrototypeHelper and ScriptaculousHelper code was removed to plugins. This means that doing auto-complete for various fields was no longer part of the base Rails. I didn’t find any great, straight-forward docs on how to do this for Rails 2.x, so am sharing what I’ve done to hopefully help others

Rating: ★ ★ ★ ★ ★

Tags: , ,

Suckerfish WordPress Plugin | Ryan Hellyer

Suckerfish WordPress Plugin | Ryan Hellyer

Rating: ★ ★ ★ ★ ★

Tags: , , ,

assert{ 2.0 } – O’Reilly Ruby

assert{ 2.0 } - O'Reilly Ruby

Phlip likea developer tests, but he doesn’t like the primitive assertions – assert_equal, assert_match, assert_not_nil, etc. They only exist for one reason – to print out their input values when they fail. And they don’t even reflect their variable names.

So Phlip wrote an assertion to replace all of them. Put whatever you want into it; it prints out your expression, and all its values.

Rating: ★ ★ ★ ★ ★

Tags: , ,

View all my bookmarks on Ma.gnolia

This entry was posted in Bookmarks. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>