Strange compile error

Worklog.find_all[“worklogs2stocksymbol=?”,45],“id DESC”,15
SyntaxError: compile error
(irb):25: syntax error
Worklog.find_all[“worklogs2stocksymbol=?”,45],“id DESC”,15
^
from (irb):25
from :0

I am not sure what is wrong here. can someone explain.
the worklogs2stocksymbol is defined as int4 in postgresql and i am using
postgres-pr driver thro rails

View this message in context:
http://www.nabble.com/strange-compile-error-tf2172783.html#a6007659
Sent from the RubyOnRails Users forum at Nabble.com.

Looks like ruby is getting confused with the missing space between
“find_all” and the “[”. You could put the implicit brackets ( ) in if
you like, and that should solve it too.

Douglas

2006/8/27, junkone1 [email protected]: