similar to: Model.find(:first, :lock=>true) Unknown key(s) :lock

Displaying 20 results from an estimated 30000 matches similar to: "Model.find(:first, :lock=>true) Unknown key(s) :lock"

2006 Aug 15
3
Versions Compatibility and RAILS_GEM_VERSION
Is there any problem with versions compatibility? A project I started with 1.1.2 cannot run with 1.1.4. Dreamhost recently updated their rails from 1.1.2 to 1.1.5 and 1.1.6. Needless to say I got "Application Error". However when I changed RAILS_GEM_VERSION to either 1.1.5 or 1.1.6, it works. (Haven''t made a thorough checking though.) Here it seems there is no
2006 Dec 08
19
HABTM join table quirk
I''ve been bringing up a good basica framework for applications at work. To give decent security I''ve been implementing the Rails Recipie for Authorization of function calls modeled on the book''s implementation. (Changes for our environment were added..but are minor.) Since I initially let Rails create the join table between two data tables with a HABTM relationship....I
2007 Jan 24
7
Ferret problems with Rails 1.2.1
Hi, I''ve just updated rails from 1.1.6 to 1.2.1 and I''m getting the following errors whenever I load a page that uses a class that uses ferret. I have ferret 0.10.13 and acts_as_ferret. They were working fine before the upgrade. #<NameError: cannot remove Object::WildcardQuery>
2007 Jan 28
3
always Not Found
hi! I''m migrating to Rails 1.2.1 (from 1.1.6), but now I''m getting a 404 (Not Found) page for every url I call! Not even the error messages I got before are shown on this page anymore. So I took a look into development.log, but there everything is ok, WebRick sends Http 200 OK. The routes.rb I left as the standard: map.connect '':controller/:action/:projectid''
2006 Aug 08
8
RESTful Rails Plugin
I am following the instructions on how to use RESTful Rails plugin found at http://www.xml.com/pub/a/2006/04/19/rest-on-rails.html?page=3. When I run the rake test:functionals I get the following error message: rake aborted! undefined method `first'' for :book:Symbol (See full trace by running task with --trace) How can I fix this problem? I am using Rails 1.1.4 version. TIA
2007 Jan 18
7
form_tag broken in Rails 1.2 RC2 or is it me?
I''m using Rails 1.2 RC2 and I''ve got a view that uses form_tag and the form is not being rendered. It''s just not there. My view is this: <div class="box"> <fieldset> <legend>Log in</legend> <% form_tag do %> <div class="row"> <div class="formfield"> <label
2006 Aug 11
2
dreamhost error after 1.1.5 upgrade
My site was working fine earlier, but since the 1.1.5 upgrade at dreamhost it just hangs and hangs and then gives the "Application error, rails failed to load properly". Fastcgi was and still is enabled in the control panel. I had been using capistrano to deploy and it has been working well that way. The application works on my local box which has 1.1.6 running. I edited
2007 Nov 25
5
Can't find rails after re-installing/upgrading Kubuntu
Hello Railers (?), I have just re-installed my machine with the lattest Kubuntu, which brings with Rails 1.2.4 instead of 1.2.3. Now my Rail project doesn''t start anymore. At first I''ve got this message: Cannot find gem for Rails ~>1.2.3.0: Install the missing gem with ''gem install -v=1.2.3 rails'', or change environment.rb to define
2006 Aug 30
3
Webrick Server don't start after Update Rails
Hi, After a Rails update (rails-1.1.6) , Webrick server don''t start. Error: Cannot find gem for Rails =1.1.4: Install the missing gem with ''gem install -v=1.1.4 rails'', or change environment.rb to define RAILS_GEM_VERSION with your desired version. Looks normal because of the update. A new project has no problems if I start the Webrick server. My
2006 Jun 16
5
superclass mismatch for class OrderedOptions
I have Rails 1.1.2 installed and froze my app to 1.0 by checking it out into the vender directory. Maybe it''s coincidence, but now when trying to do rake migrate I get this: > rake migrate --trace (in /home/beet/workspace/) rake aborted! superclass mismatch for class OrderedOptions /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/ordered_options.rb:27
2020 Jun 02
2
"ssh -Q key" does not list rsa-sha2 algorithms
On Tue, 2 Jun 2020 at 18:48, Brian Candler <b.candler at pobox.com> wrote: [about ssh -Q ssh_config_keyword] > There is also "-Q key-sig" in recent versions (not sure exactly how recent, but 7.6 doesn't have it) Added in the same commit (Feb this year), first released in 8.3: https://github.com/openssh/openssh-portable/commit/d4d9e1d40514e2746f9e05335d646512ea1020c6 --
2007 Apr 20
1
Problem with form_tag
Hi all! I''ve seen this problem in several places in the list, but none of the remedies suggested seem to be helping me much. I have a view like so: HELLO <% form_tag :action => "create" do %> <p>My pretty form!</p> <p><%= text_field "foo", "bar" %></p> <p><%= submit_tag "Do
2006 May 05
3
Cannot find gem for Rails =1.1.2
First post here: The error is below and i''m sure folks have posted it before, but perhaps i''ve missed the solution: I''m using apache because i first need to see if rails can work with apache. Some particulars: gem -v 0.8.11 ruby -v ruby 1.8.4 (2005-12-24) [i686-linux] rails -v Rails 1.1.2 rails-1.1.2 is installed (via gem) and environment.rb''s
2007 May 08
2
Is there a way to specify in the rails application which ruby executable to use.
Basically I am stuck with a production app running on Rails 1.1.6 needing ruby 1.8.4, while we are working in trunk on getting Rails 1.2.3 working which needs ruby 1.8.6. I can set the version of rails using RAILS_GEM_VERSION in environment.rb ... but where can I set the version of ruby to use? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are
2010 Mar 21
4
Deploying my rails app to GoDaddy
So I''ve written my first real-world RoR app and I''m now getting ready to deploy it. Unfortunately, my client decided to use GoDaddy as the hosting provider and based on what I''ve seen so far from the web, it''s not really the smoothest or ideal hosting for RoR apps. There were several posts here that I tried to follow but they were kinda old (2008, 2007). Most of
2008 Nov 21
15
Switching the version of Rails that an app uses
Hi All, I’ve got a few versions or Rails installed and I''d like to run an App I’m developing with various versions of Rails. I heard of two ways to switch the version of Rails that an app uses: 1. Use GitHub as described by http://kylecordes.com/2008/04/30/git-windows-go/ . But that requires using Bash in a Command Window and more steps than I want to go through. 2. Alter
2006 Aug 17
3
file_column plugin + rails 1.1.6
Hello, I need to install file_column plugin but I got an error message. This is the command I use: ./script/plugin install http://opensvn.csie.org/rails_file_column/plugins/file_column/trunk This is the error: Cannot find gem for Rails =1.1.4: Install the missing gem with ''gem install -v=1.1.4 rails'', or change environment.rb to define RAILS_GEM_VERSION with your
2006 Aug 10
6
Login Restfully
In DHH''s keynote, he alluded to doing logins with REST. Has anyone implemented this, and if so, would you mind elaborating on how you did it please? Thanks in advance. -- Posted via http://www.ruby-forum.com/.
2007 Jul 07
6
Help in upgrading from 1.1.6 to 1.2.3
Hi, I was developing a rails app with version 1.1.6 that just worked fine. I decided to upgrade to 1.2.3 and then, I keep getting that horrible message: "Application error Change this error message for exceptions thrown outside of an action (like in Dispatcher setups or broken Ruby code) in public/500.html" Now, before starting script/server I modiffied config/environment.rb and
2007 Sep 19
3
Rails cannot connect error after updating using ruby and rails to slightly newer versions
I am on a mac. Have been developing using a manually installed (according to the hivelogic instructions) ruby, rails, gems, mongrel setup. Life was good. When I noticed that my ruby version was out of date, I decided to switch to using macports to maintain the software on my mac. I used it to install a new ruby and gems, and then used gems to get the latest rails. Life seemed to be good. Next I