search for: active_resource

Displaying 20 results from an estimated 29 matches for "active_resource".

2009 May 20
1
activeresource-2.3.2 HTTPHeaderSyntaxError
...request'' from /usr/local/lib/ruby/1.8/net/http.rb:543:in `start'' from /usr/local/lib/ruby/1.8/net/http.rb:1035:in `request'' from /usr/local/lib/ruby/1.8/net/http.rb:845:in `post'' from /usr/local/lib/ruby/gems/1.8/gems/activeresource-2.3.2/lib/ active_resource/connection.rb:149:in `send'' from /usr/local/lib/ruby/gems/1.8/gems/activeresource-2.3.2/lib/ active_resource/connection.rb:149:in `request'' from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/ active_support/core_ext/benchmark.rb:17:in `ms'' from...
2007 Sep 22
4
ActiveResource, find(1) works but no find(:all)
Hi, I''m on edge and Fuser.find(1) works but Fuser.find(:all) shows the error [1]. Fuser is declared here [2]. Do you know what''s happening? Thanks. [1] ActiveResource::ServerError: Failed with 500 Internal Server Error from /.../vendor/rails/activeresource/lib/active_resource/connection.rb:124:in `handle_response'' from /.../vendor/rails/activeresource/lib/active_resource/connection.rb:103:in `request'' from /.../vendor/rails/activeresource/lib/active_resource/connection.rb:74:in `get'' from /.../vendor/rails/activeresourc...
2007 Jul 23
0
any restful client other than active_resource?
Hi, I am trying to consume a restful resource. I tried active_resource with rails 1.2.3, but it doesn''t work. so I assume that it only works with Edge Rails. Is there any other ruby-based restful client available? Thanks. Yaxm. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because...
2008 Sep 22
0
'require frameworks' : no such file to load --active_resource (Runtime Error)
...t;rake rails:update" on command prompt to update "config/boot.rb". When I run command "ruby script/server" I faced bug on command prompt : ./script/../config/../vendor/rails/railties/lib/initializers.rb:225: in ''require frameworks'' : no such file to load --active_resource (RuntimeError) Can anyone help to fix this bug? Thanks, Rockey --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5...
2008 Jul 08
7
script/server error
Not sure why I''m getting this error, cause I believe it worked yesterday before I quit and now it''s giving me this error. The last thing I did was try and get an ActionMailer thing to work. I searched through the archives but nothing seemed applicable to my error. Here''s the error I''m getting: ruby script/server => Booting Mongrel (use
2009 May 28
0
Re: ActiveResource as API test rig? Two jsons?
...s => {:owner => "iamwill"}) > > Result is: > /var/lib/gems/1.8/gems/activesupport-2.3.2/lib/active_support/json/decoding.rb:14:in > `decode'': Invalid JSON string (ActiveSupport::JSON::ParseError) > from > /var/lib/gems/1.8/gems/activeresource-2.3.2/lib/active_resource/formats/json_format.rb:19:in > `decode'' > from > /var/lib/gems/1.8/gems/activeresource-2.3.2/lib/active_resource/connection.rb:116:in > `get'' > from > /var/lib/gems/1.8/gems/activeresource-2.3.2/lib/active_resource/base.rb:576:in > `find_every''...
2007 Sep 28
4
RSpec + EdgeRails on Windows
...it is EdgeRails, but I''m hoping someone might understand the errors better than I do and know a workaround. When running generators, including the main rspec generator: /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_requi re'': no such file to load -- active_resource (MissingSourceFile) from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `requi re'' from /cygdrive/c/Documents and Settings/Christopher D. Pratt/test/vendor /rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:4 96:in `require''...
2009 Aug 16
3
Rails without a database
...an''t find a way to have rails not use a database. I just left my database.yml file as it is. When I run my rails application that has no models, my browser says that it couldn''t connect to a database. In environment.rb I uncommented the line config.frameworks -= [ :active_record, :active_resource, :action_mailer ] but then Webrick won''t start. Sorry if this has already been posted or the solution is really simple, I couldn''t find anything after about a half hour of searching and I''ve only been using rails for a few days. Thanks!
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
2010 Jun 17
2
"LoadError: no such file to load -- openssl", following Rails Guides
...rt-3.0.0.beta4/lib/active_support/dependencies.rb:198:in `load_dependency'' /home/lm/.rvm/gems/ruby-1.9.2-preview3/gems/ activesupport-3.0.0.beta4/lib/active_support/dependencies.rb:212:in `require'' /home/lm/.rvm/gems/ruby-1.9.2-preview3/gems/ activeresource-3.0.0.beta4/lib/active_resource/connection.rb:2:in `<top (required)>'' /home/lm/.rvm/gems/ruby-1.9.2-preview3/gems/ activesupport-3.0.0.beta4/lib/active_support/dependencies.rb:212:in `require'' /home/lm/.rvm/gems/ruby-1.9.2-preview3/gems/ activesupport-3.0.0.beta4/lib/active_support/dependencies.rb:...
2009 Mar 31
9
Application without database.yml
Hi, I have created one application. In that application I am not using any database. Whenever I starting rails server it is giving me an error for configuration of database.yml. What should I do for this? Thanks, Tushar -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups
2010 Sep 02
5
Re: Exclude ActiveRecord in Rails3
What''s the best way to exclude ActiveRecord in Rails3? In Rails2, one could just do: *config.frameworks -= [ :active_record ]* in the configuration block in environment.rb. Is it possible in Rails3? Thanks. Anuj -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to
2007 Mar 02
2
ActMethods has been removed from the module tree ???
Hello, I wrote a light weight version of acts_as_attachment and this has been working fine for some time now (about a week). Now i get the title error: ActMethods has been removed from the module tree but is still active! I have updated edge rails a few times as my project uses active_resource. The closest thing ive found is an AAA post on beast forum: http://beast.caboo.se/forums/2/topics/664 regards, Adam -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ru...
2009 Jun 24
3
ActiveResource:: HttpMock
I''m trying to set up testing on my ActiveResource project. The HttpMock appears to be what I want, but whenever I use the code in the "documentation", I get the error NameError: uninitialized constant ActiveResource::HttpMock Is there something I need to do to enable HttpMock testing? Thanks, Tom
2009 Sep 25
1
generate model error
...'s a simple application without a database. First "rails simple_app" And modify "enviroment.rb" # Skip frameworks you''re not going to use. To use Rails without a database, # you must remove the Active Record framework. config.frameworks -= [ :active_record, :active_resource, :action_mailer ] However, after that when I execute the command "ruby script/generate model Item" there will be an error raised: uninitialized constant ModelGenerator::ActiveRecord Anyone knows the origin of the problem, and how to solve it BTW: I am using rails 2.3.4 and ruby 1.8.7 -...
2007 Mar 10
6
ActiveResources 0.1.0 Released
See the blog post at http://blog.lonestarsoftware.net/2007/03/09/active_resources-010-released/ Reading through the rails blogosphere last week, I read a post (which I can not find again) that suggested a completely different approach to AJAX use in rails apps. The idea was to create a Javascript proxy to the ActiveRecord models and allow AR operations to be called from the cl...
2006 Sep 01
2
Include ActiveResource
Hello, I want to give ActiveResource a spin. I have all the code checked out from SVN in vendor/rails (yes, including ActiveResource). I''m trying to make sure it gets loaded. I did this in environment.rb: config.load_paths += %W( #{RAILS_ROOT}/vendor/rails/activeresource/lib ) Unfortunately I still can''t use it. I have an ActiveResource derived model, Address: class
2009 May 12
2
rails 2.3.2 is not generating environment.rb properly
...ceholder for all plugins not explicitly named # config.plugins = [ :exception_notification, :ssl_requirement, :all ] # Skip frameworks you''re not going to use. To use Rails without a database, # you must remove the Active Record framework. # config.frameworks -= [ :active_record, :active_resource, :action_mailer ] # Activate observers that should always be running # config.active_record.observers = :cacher, :garbage_collector, :forum_observer # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone. # Run "rake -D time" for a list of...
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 --
2008 Apr 11
3
does backgroundrb server need rails environment?
Hi everyone, I noticed that script/backgroudrb requires config/environment which causes the backgroundrb server as well as the log worker to ''bloat'' to 35MB each. I am kind of sensitive to memory issues, so I patched the code and essentially moved the require of environment from script/backgroundrb to the meta_worker. Everything seems good and now both backgroundrb server and