tag:blogger.com,1999:blog-1653089315389588439.post6028343944799913057..comments2011-04-01T20:12:02.516-07:00Comments on The Avvo Developer Blog: Method of the Day: Array()Benhttp://www.blogger.com/profile/02932517953717081378noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-1653089315389588439.post-47043928153800470932008-10-28T17:22:00.000-07:002008-10-28T17:22:00.000-07:00that is very true. ha... maybe my example was not...that is very true. ha... maybe my example was not the best, but you get the point...Benhttps://www.blogger.com/profile/02932517953717081378noreply@blogger.comtag:blogger.com,1999:blog-1653089315389588439.post-91610690763404294392008-10-25T22:19:00.000-07:002008-10-25T22:19:00.000-07:00Hey, you could also use a splat args for that do_s...Hey, you could also use a splat args for that do_stuff method:<BR/><BR/>def do_stuff(*args)<BR/> args.each do |model|<BR/> # do stuff...<BR/> end<BR/>endnakajimahttps://www.blogger.com/profile/07426667121416427186noreply@blogger.com