search for: request_id

Displaying 20 results from an estimated 51 matches for "request_id".

2011 May 22
6
How to capture correctly a specific exception
I a using delayed_job, and I am raising an exception this way : config/initializers/custom_exceptions.rb class RemoteLockerException < StandardError; end class RemoteLockerDenied < StandardError; end lib/instruction_request_job.rb class InstructionRequestJob < Struct.new(:style, :request_id) def perform .... > connector = RemoteContainerServer::Connector.create!(remote_container) > raise Exceptions::RemoteLockerDenied , "RemoteLockerDenied" if connector.nil? .... > requestId = connector.request_job(user, remote_container) > raise Exceptions::RemoteCon...
2017 Feb 01
0
[PATCH 05/14] netvsc: remove no longer needed receive staging buffers
..._channel_cb(void *context) { - int ret; - struct vmbus_channel *channel = (struct vmbus_channel *)context; + struct vmbus_channel *channel = context; u16 q_idx = channel->offermsg.offer.sub_channel_index; struct hv_device *device; struct netvsc_device *net_device; - u32 bytes_recvd; - u64 request_id; struct vmpacket_descriptor *desc; - unsigned char *buffer; - int bufferlen = NETVSC_PACKET_SIZE; struct net_device *ndev; bool need_to_commit = false; @@ -1277,65 +1264,19 @@ void netvsc_channel_cb(void *context) net_device = get_inbound_net_device(device); if (!net_device) return;...
2007 Apr 30
2
has_many :through polymorphic
...Mysql::Error: Unknown column ''transactions.transaction_id'' in ''on clause'' It generates the following SQL (which appears to be incorrect): SELECT postings.* FROM postings INNER JOIN transactions ON postings.id = transactions.transaction_id WHERE ((transactions.request_id = 14) AND (transactions.request_type = ''PickAndPackRequest'')) The "ON" clause appears to be wrong, I would have thought it would be: ON postings.transaction_id = transaction.id Can anybody point out what I''m doing wrong, because I''m stumped! Che...
2017 Feb 05
2
[PATCH 05/14] netvsc: remove no longer needed receive staging buffers
...ret; > - struct vmbus_channel *channel = (struct vmbus_channel *)context; > + struct vmbus_channel *channel = context; > u16 q_idx = channel->offermsg.offer.sub_channel_index; > struct hv_device *device; > struct netvsc_device *net_device; > - u32 bytes_recvd; > - u64 request_id; > struct vmpacket_descriptor *desc; > - unsigned char *buffer; > - int bufferlen = NETVSC_PACKET_SIZE; > struct net_device *ndev; > bool need_to_commit = false; > > @@ -1277,65 +1264,19 @@ void netvsc_channel_cb(void *context) > net_device = get_inbound_net_device(...
2017 Feb 05
2
[PATCH 05/14] netvsc: remove no longer needed receive staging buffers
...ret; > - struct vmbus_channel *channel = (struct vmbus_channel *)context; > + struct vmbus_channel *channel = context; > u16 q_idx = channel->offermsg.offer.sub_channel_index; > struct hv_device *device; > struct netvsc_device *net_device; > - u32 bytes_recvd; > - u64 request_id; > struct vmpacket_descriptor *desc; > - unsigned char *buffer; > - int bufferlen = NETVSC_PACKET_SIZE; > struct net_device *ndev; > bool need_to_commit = false; > > @@ -1277,65 +1264,19 @@ void netvsc_channel_cb(void *context) > net_device = get_inbound_net_device(...
2007 Feb 07
3
Upgrade to Rails 1.2.2 : RESTful routes not working anymore
...> "/admin", :name_prefix => "admin_" do |m| m.resources :requests, :controller => "admin/requests", :collection => { :destroy => :delete, :search => :post } do |request| request.resources :histories, :path_prefix => "/admin/requests/:request_id", :name_prefix => "admin_", :controller => "admin/histories" end end I got this error : admin_destroy_requests_url failed to generate from {:action=>"destroy", :controller=>"admin/requests"}, expected: {:action=>"destroy",...
2011 Sep 23
1
Simple Association
...action = Transaction.create(:request => @request.id, :response => @response.id) From there I would like to be able to sort through each transaction: @some_transaction.request.text How are these associations formed? When generating the models do I need to have columns for request/response or request_id/response_id? Thanks for any help! -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email...
2012 Jun 18
4
Problem with exists? method
...in `call'' actionpack (3.2.4) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'' railties (3.2.4) lib/rails/rack/logger.rb:26:in `call_app'' railties (3.2.4) lib/rails/rack/logger.rb:16:in `call'' actionpack (3.2.4) lib/action_dispatch/middleware/request_id.rb:22:in `call'' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'' rack (1.4.1) lib/rack/runtime.rb:17:in `call'' Can anyone tellme why its failing? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google G...
2012 Mar 01
1
help stylesheet_link_tag
...n `call'' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb: 56:in `call'' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app'' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call'' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb: 22:in `call'' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'' rack (1.4.1) lib/rack/runtime.rb:17:in `call'' activesupport (3.2.1) lib/active_support/cache/strategy/ local_cache.rb:72:in `call'' rack (1.4.1) lib/rack/lock.rb:15:in `call''...
2013 Feb 10
0
Nested attributes doesnt get updated
...ead :no_content } else format.html { render action: "edit" } format.json { render json: @a_w_request.errors, status: :unprocessable_entity } end end end *Models:* *a_w_request.rb* class AWRequest < ActiveRecord::Base set_primary_key :request_id set_sequence_name "w_request_details_seq" set_table_name "w_request_details" attr_accessible :requester_contact, :needed_by, :w_a_details_attributes has_many :w_a_details, :dependent => :destroy accepts_nested_attributes_for :w_a_details, :allow_destroy =>...
2007 Apr 23
0
request logging: around_filters can't see error responses!
...entry (in YAML) for every request that hits my Rails app. For example, an entry in this log would look something like: --- SYSTEM_TIME: 0.0166666666666667 USER_TIME: 0.0999999999999996 DB_TIME: 0.00247621536254883 REAL_TIME: 0.091976 STATUS_CODE: 500 SESSION_ID: 64ad46a8841c66bbf64e93335cedc50d REQUEST_ID: 32d6a42f-da58-43e2-ab27-09d3e2a775cb RESPONSE_BODY_SIZE: 7001 REMOTE_IP: 127.0.1.1 TIMESTAMP: 2007-04-23 12:05:41.555780 -07:00 USER_AGENT: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/ 20060601 Firefox/2.0.0.3 (Ubuntu-edgy) USER_ID: 102 QUERY_STRING: PATH: /home IS_AJAX: false PARAMS...
2011 Jul 07
0
Rails3 Mailer html / text versions order
...; user.email, :subject => "Welcome to My Awesome Site") do |format| format.html { render ''another_template'' } format.text { render ''another_template'' } end end MY USER MAILER ======= def analysis_received(user_id, clip_id, request_id) ...... skipped lines ...... @template = "user_mailer/#{I18n.locale.to_s}/ analysis_received.erb" mail(:to => @user[:email], :subject => "#{@request_type.capitalize}") do |format| format.html { render :template => @template } forma...
2014 Feb 18
0
Compiled assets are not found in production mode run locally
...:in `block in tagged' activesupport (4.0.2) lib/active_support/tagged_logging.rb:25:in `tagged' activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `tagged' railties (4.0.2) lib/rails/rack/logger.rb:20:in `call' actionpack (4.0.2) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.0.2) lib/active_support/cache/strategy/local_cache.rb:83:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.0.2) lib...
2017 Feb 01
15
[PATCH 00/14] hyperv: vmbus related patches
This is a rebase/resend of earlier patches. I skipped the pure cosmetic patches for now. Mostly this is consolidation earlier changes, removing dead code etc. The important part is the change for allowing a vmbus channel to get callback directly in interrupt mode; this is necessary for NAPI support. Stephen Hemminger (14): vmbus: use kernel bitops for traversing interrupt mask vmbus: drop
2017 Feb 01
15
[PATCH 00/14] hyperv: vmbus related patches
This is a rebase/resend of earlier patches. I skipped the pure cosmetic patches for now. Mostly this is consolidation earlier changes, removing dead code etc. The important part is the change for allowing a vmbus channel to get callback directly in interrupt mode; this is necessary for NAPI support. Stephen Hemminger (14): vmbus: use kernel bitops for traversing interrupt mask vmbus: drop
2012 Apr 24
1
Rails 3 Errno::EAFNOSUPPORT: Address family not supported by protocol - socket(2)
.../lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'' [GEM_ROOT]/gems/railties-3.2.3/lib/rails/rack/logger.rb:26:in `call_app'' [GEM_ROOT]/gems/railties-3.2.3/lib/rails/rack/logger.rb:16:in `call'' [GEM_ROOT]/gems/actionpack-3.2.3/lib/action_dispatch/middleware/request_id.rb:22:in `call'' [GEM_ROOT]/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in `call'' [GEM_ROOT]/gems/rack-1.4.1/lib/rack/runtime.rb:17:in `call'' [GEM_ROOT]/gems/activesupport-3.2.3/lib/active_support/cache/strategy/local_cache.rb:72:in `call'' [GEM_ROOT]/gems/ra...
2012 Apr 24
1
Rails 3 Errno::EAFNOSUPPORT: Address family not supported by protocol - socket(2)
.../lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'' [GEM_ROOT]/gems/railties-3.2.3/lib/rails/rack/logger.rb:26:in `call_app'' [GEM_ROOT]/gems/railties-3.2.3/lib/rails/rack/logger.rb:16:in `call'' [GEM_ROOT]/gems/actionpack-3.2.3/lib/action_dispatch/middleware/request_id.rb:22:in `call'' [GEM_ROOT]/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in `call'' [GEM_ROOT]/gems/rack-1.4.1/lib/rack/runtime.rb:17:in `call'' [GEM_ROOT]/gems/activesupport-3.2.3/lib/active_support/cache/strategy/local_cache.rb:72:in `call'' [GEM_ROOT]/gems/ra...
2012 Aug 01
5
[Full-disclosure] nvidia linux binary driver priv escalation exploit
Hi all! I found this today on FD: http://seclists.org/fulldisclosure/2012/Aug/4
2011 Jun 29
38
[PATCH 00/40] Staging: hv: Driver cleanup
Further cleanup of the hv drivers: 1) Cleanup the reference counting mess for both stor and net devices. 2) Handle all block devices using the storvsc driver. 3) Accomodate some host side scsi emulation bugs. 4) In case of scsi errors off-line the device. Regads, K. Y
2011 Jun 29
38
[PATCH 00/40] Staging: hv: Driver cleanup
Further cleanup of the hv drivers: 1) Cleanup the reference counting mess for both stor and net devices. 2) Handle all block devices using the storvsc driver. 3) Accomodate some host side scsi emulation bugs. 4) In case of scsi errors off-line the device. Regads, K. Y