similar to: Activeresource locking

Displaying 20 results from an estimated 30000 matches similar to: "Activeresource locking"

2012 Jun 01
4
Is there a ftp crawler in ruby on rails?
Hi, I''m a newbie to ROR. I wanted to write some code which can help me to list and then index all the paths on a remote server. Is there a ftp server crawler in ruby? Thanks, Narayana -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2010 May 15
3
ActiveResource Mock Objects
Some of my tests use ActiveResource HttpMock requests and some of them do not. Does anyone know if there is a way to disable the HttpMocks after they have already been loaded? The method ActiveResource::HttpMock.reset! only removes all the objects, but ActiveResource still thinks it should look for mock requests rather than actually making requests. I hope this makes sense! Thanks, Tom --
2012 Jun 18
7
Is activeresource broken in rails 3.2.4?
Hi, I see that Person.find(:all) and Person.find(:all, :params => {id => ''2''}) returns all records irrespective of conditions. Is activeresource broken? PS: Im using rails 3.2.4 -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email
2012 Jun 08
1
Using activeresource for client/server model
Hi, i have a rails app running which has a DB of records. I wanted to develop a client app which can 1) view the records 2) edit them So i have created a new rails app (for this client) and edited the model file "record.rb" class Record < ActiveResource::Base self.site = "http://0.0.0.0:3000" end From the rails console of client i can access the DB records (Record.find
2010 Dec 31
9
Headers in ActiveResource
I am creating a rails app that is a gui wraping a restful web service that uses a websso for authentication. This websso sets a series of headers that I need to pass from the request to the ActiveResource.find methods. As this is stuff like username etc it is going to be different for each request. I can find examples on how to set headers for all requests not just one. Does anyone know of a way
2010 Apr 28
1
ActiveResource does not detect errors for my very simple model
The documentation says to return a code 422 with a packet in the following format: <errors type="array"><error>First cannot be empty</error></errors> So that is what I am doing. But my model will not raise an exception on a create call that returns such a response, and a record created that way returns true for its valid? call. I simply do: >>
2012 Dec 18
1
ActiveResource::create with an existing id: Rails 3.0 vs Rails 3.1 and above
I''m upgrading my application from Rails 3.0 to Rails 3.2 (yeah, I know, what happened to 3.1?), and I''m experiencing a difference in the REST call when calling ActiveResource::create where the id is already defined. In 3.0, the app is sending a PUT. In 3.1 and above, is sending a POST. The PUT seemed to make sense to me since the id already exists. Is there any
2013 Jan 08
3
[SEC] Rails 3.2.11, 3.1.10, 3.0.19, and 2.3.15 have been released!
Hi everybody. I''d like to announce that 3.2.11, 3.1.10, 3.0.19, and 2.3.15 have been released. These releases contain two **extremely critical security fixes** so please update **IMMEDIATELY**. You can read about the security fixes by following these links: * [CVE-2013-0155](https://groups.google.com/group/rubyonrails-security/browse_thread/thread/b75585bae4326af2) *
2013 Jan 08
3
[SEC] Rails 3.2.11, 3.1.10, 3.0.19, and 2.3.15 have been released!
Hi everybody. I''d like to announce that 3.2.11, 3.1.10, 3.0.19, and 2.3.15 have been released. These releases contain two **extremely critical security fixes** so please update **IMMEDIATELY**. You can read about the security fixes by following these links: * [CVE-2013-0155](https://groups.google.com/group/rubyonrails-security/browse_thread/thread/b75585bae4326af2) *
2012 Jun 29
1
Prob with updating a record with Activeresource object
Hi, I am updating a record using activeresource object. I get an error "cant mass assign protected attributes id, created_at , updated_at". This is because i read a record, modify some values and then update the entry using object.save( which also updates id, created_at etc). To remove this error i can include the id, created_at fields in the model file. But is there a better way to get
2013 May 29
5
Can't setup Rails with RVM in ubuntu 12.04
I''m doing setu Ruby on Rails with RVM. I had setup ruby 1.9.3 p429 and RVM,RubyGem... succesfully But I can''t setup Rails with command : gem install rails because of error: ERROR: While executing gem ... (Gem::DependencyError) Unable to resolve dependencies: rails requires activesupport (= 3.2.13), actionpack (= 3.2.13), activerecord (= 3.2.13), activeresource (= 3.2.13),
2011 Mar 16
19
Uninitialized constant Files::Magick -still around
Hi there, I''m solving the problem about the plugin Magick. In my app in Gemfile I''ve follwoing: require ''rubygems'' require ''mongo'' require ''RMagick'' include Magick and in a model Files: class Files def self.save(upload) ... img = Magick::Image.read(''public/data/nature6.jpg'').first end end
2010 Jan 05
6
thin server claims I don't have correct rails gem installed
Hi everyone, I need some insight into a problem I just started having. I''m running ruby 1.8.6 on an ubuntu box with the following gems installed: $ sudo gem list --local *** LOCAL GEMS *** actionmailer (2.3.5, 2.3.4, 2.3.2, 2.2.2) actionpack (2.3.5, 2.3.4, 2.3.2, 2.2.2) activerecord (2.3.5, 2.3.4, 2.3.2, 2.2.2) activeresource (2.3.5, 2.3.4, 2.3.2, 2.2.2) activesupport (2.3.5, 2.3.4,
2011 Mar 31
3
can i switch to rails 2.3.5 and run a rails 2.3.5 code??
Hi all, i have installed rails 3 using RVM . the prob is now i have two parallel projects where one is in 2.3.5 and another is in rails3. i use Mac o x 10.6.3 mysql :Server version: 5.1.56 MySQL so can i switch in between rails3 and rails 2.3.8?? this is my gem list... actionmailer (3.0.5, 3.0.5.rc1, 3.0.4, 3.0.3, 2.3.8, 2.3.5) actionpack (3.0.5, 3.0.5.rc1, 3.0.4, 3.0.3, 2.3.8, 2.3.5)
2012 Aug 16
2
error installing engineyard-dns
I tried gem install engineyard-dns and got the following error: ERROR: While executing gem ... (NoMethodError) undefined method `call'' for nil:NilClass what Im doing wrong? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2010 Apr 15
1
Problems with rake
I receive an error when I try to create or setup database using rake command. Rake is installed. Error: bash: /opt/local/bin/rake: /opt/local/bin/ruby: bad interpreter: No such file or directory. Is it not in the path but how come I can to gem list show the gems? Please help gem list *** LOCAL GEMS *** actionmailer (2.3.5, 2.2.2, 1.3.6) actionpack (2.3.5, 2.2.2, 1.13.6) actionwebservice
2009 Dec 22
16
Will paginate is missing on rake db:migrate
I have a very annoying problem, when doing rake db:migrate, I get the error message: Missing these required gems: will_paginate ~> 2.3.11 But the gem is not missing, It runs very well in my app. To make the rake pass I have to comment out the gem in my environment.rb file. environment.rb: config.gem "will_paginate", :version => "~> 2.3.11", :source =>
2011 Oct 16
4
Ruby on rails with twitter integration
after i searched, i got so many links related with the twitter integration , Then i do that with one following link http://cbpowell.wordpress.com/2011/03/17/twitter-oauth-and-ruby-on-rails-integrated-cookbook-style-in-the-console-updated-for-twitter-1-0/ after some steps with the rails console, *Then i got some errors after i gave the steps to send the tweet from the application * * client
2011 May 10
7
Webrick script/server file does not exist
Hello all, I worked fairly enough with PHP and MySQL, but am very new to Ruby. I have Windows machine with Apache and MySQL installed previously. Both Apache and MySql were stopped while installing Ruby. I tried several ways to install Ruby 1.8.7 and one-step installer. I can use Ruby with netbeans 6.0.1 with its own Ruby or with the one I installed now. The problem starts when I try to create
2010 Jun 17
2
"LoadError: no such file to load -- openssl", following Rails Guides
[With apologies for cross-posting at http://railsforum.com/viewtopic.php?id=39587] Hi all, I''m following the edge ''getting started'' guide at http://guides.rails.info/getting_started.html, running ROR 3. I''m running Ruby 1.9.2 (as instructed by the guide), installed using RVM. I get an error when following "4.3 Setting the Application Home Page".