Forum: Ruby on Rails Model.find(:first, :lock=>true) Unknown key(s) :lock

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
5896cb49b1b972647009cf4f0b110852?d=identicon&s=25 Justin Mazzi (jmazzi)
on 2007-01-24 19:51
Rails 1.2.1

Has anyone ever gotten this error? According to the API, this is exactly
how you are suppose to use it
5896cb49b1b972647009cf4f0b110852?d=identicon&s=25 Justin Mazzi (jmazzi)
on 2007-01-24 22:33
Justin Mazzi wrote:
> Rails 1.2.1
>
> Has anyone ever gotten this error? According to the API, this is exactly
> how you are suppose to use it

My error. I am using version 1.1.6. This feature is rails 1.2.1 only.
C64e63b70be7dfed8b0742540b8b27e5?d=identicon&s=25 Mark Reginald James (Guest)
on 2007-01-24 22:40
(Received via mailing list)
Justin Mazzi wrote:
> Rails 1.2.1
>
> Has anyone ever gotten this error? According to the API, this is exactly
> how you are suppose to use it

WFM. Are you sure you're on 1.2.1?  Check your environment.rb
for a RAILS_GEM_VERSION constant, or vendor/rails for old source.

--
We develop, watch us RoR, in numbers too big to ignore.
This topic is locked and can not be replied to.