Get updates

Archive for August, 2007

Scott Q&A: What Methods are Available with acts_as_list?

When you make use of Active Record’s convenient acts_as_list modifier in Rails, what does this do for you? Most of the info out there describes the way acts_as_list manages position of items, ordering them like items in a, well, ordered list.

That’s great, but what about new helper methods provided by acts_as_list? Doesn’t it make juggling list items easier? Or do you simply have to fend for yourself when you want to rearrange your list?

Question: What additional methods are provided when using acts_as_list?

Continue Reading…

3DM Design is where Scott Drake publishes thoughts on programming web applications in JavaScript and Ruby.

Fatal error: Uncaught Error: Call to undefined function ereg_replace() in /home/dmetro/ Stack trace: #0 /home/dmetro/ akpc_is_searcher() #1 /home/dmetro/ akpc_api_footer_javascript('') #2 /home/dmetro/ WP_Hook->apply_filters(NULL, Array) #3 /home/dmetro/ WP_Hook->do_action(Array) #4 /home/dmetro/ do_action('wp_footer') #5 /home/dmetro/ wp_footer() #6 /home/dmetro/ require_once('/home/dmetro/3d...') #7 /home/dmetro/ load_template('/home/dmetro/3d...', true) #8 /home/dmetro/ locate_t in /home/dmetro/ on line 2531