[Backgroundrb-devel] Initialize limited?
Ben Johnson
bjohnson at contuitive.com
Wed Jul 12 01:42:46 EDT 2006
Can I not do things with the models in my initialize method? I have
this:
def initialize(args)
super args
i = 0
Event.find_all do |event|
@lock = i
i += 1
end
end
i is null and there are events in the database. Any ideas how I can
use my models in the initialize method?
Thank You,
Ben Johnson
E: bjohnson at contuitive.com
O: 800-341-6826
M: 817-229-4258
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20060712/4dc5fd55/attachment.html
More information about the Backgroundrb-devel
mailing list