search for: code_generation

Displaying 20 results from an estimated 20 matches for "code_generation".

2006 Mar 28
0
MySQL problems and undefined class User
...ord_store.rb:307:in `update'' C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/session/active_record_store.rb:314:in `close'' C:/ruby/lib/ruby/1.8/cgi/session.rb:166:in `callback'' C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/code_generation.rb:121:in `segment_name'' C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/code_generation.rb:103:in `next_segment'' C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/code_generation.rb:160:in `finish'' C:/ruby/lib/ruby/gems/1.8/...
2006 Feb 14
1
ArgumentError in <controller not set>#<action not set> ??
.../1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:124:in `write_dropout_generation'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:117:in `write_generation'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:207:in `go'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:216:in `continue'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:140:in `write_continue_generation'' /usr/local/lib/ruby/gem...
2005 Jul 05
0
Strange behavior on windows
...e and ran: >ruby scriptgenerate scaffold Product Admin ./script/../config/..//vendor/rails/actionpack/lib/action_controller/code_ge nera tion.rb:69:in `dup'': allocator undefined for Proc (NoMethodError) from ./script/../config/..//vendor/rails/actionpack/lib/action_controlle r/code_generation.rb:69:in `dup'' from ./script/../config/..//vendor/rails/actionpack/lib/action_controlle r/code_generation.rb:66:in `each'' from ./script/../config/..//vendor/rails/actionpack/lib/action_controlle r/code_generation.rb:66:in `dup'' from ./script/../con...
2006 Aug 10
2
Software caused connection abort
...an example:] /usr/lib/ruby/gems/1.8/gems/activerecord-1.14.3/lib/active_record/vendor/mysql.rb:1112:in `write'' /usr/lib/ruby/gems/1.8/gems/activerecord-1.14.3/lib/active_record/vendor/mysql.rb:1162:in `finalizer'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/code_generation.rb:54:in `<<'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/routing.rb:548:in `generation_code_for'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/code_generation.rb:46:in `method_missing'' /usr/lib/ruby/gems/1.8/gems/action...
2006 Jan 04
3
Intermittent problem with link_to_remote()
.../ruby/1.8/cgi/session.rb:166:in `callback'' F:/ruby/lib/ruby/1.8/cgi/session.rb:165:in `call'' F:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:833:in `initialize'' F:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:65:in `new'' F:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:65:in `dup'' F:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:96:in `move_forward'' F:/ruby/lib/ruby/gems/1.8/gems/a...
2005 Jul 07
1
Rails 0.13 failing on Win XP
...app create (...) create log/test.log D:\Xfp\Prog\www\test_app>rake (in D:/Xfp/Prog/www/test_app) rake aborted! allocator undefined for Proc ./rakefile:15 D:\Xfp\Prog\www\test_app>ruby script/server c:/apps/prog/ruby/lib/ruby/gems/1.8/gems/actionpack-1.9.0/lib/action_controller/ code_generation.rb:68:in `dup'': allocator undefined for Proc (NoMethodError) from c:/apps/prog/ruby/lib/ruby/gems/1.8/gems/actionpack-1.9.0/lib/action_controller/code_generation.rb:68:in `dup'' from c:/apps/prog/ruby/lib/ruby/gems/1.8/gems/actionpack-1.9.0/lib/action_controller/...
2005 Dec 01
0
Anyone see similarly inconsistent code generation errors?
I''m curious to see if anyone else has been experiencing errors such as the following at unpredictable times (usually after changing something on a page and then re-loading it in development mode): ArgumentError (negative argument): /vendor/rails/actionpack/lib/action_controller/ code_generation.rb:13:in `*'' NoMethodError (undefined method `shift'' for -517611318:Fixnum): /vendor/rails/actionpack/lib/action_controller/ code_generation.rb:215:in `continue'' NoMethodError (undefined method `concat'' for -517611318:Fixnum): /vendor/rails/actionpac...
2005 Dec 21
8
Incomplete headers
Hi, I wanna use Rails on a SuSE server with apache. Everything should be installed correctly, but when running the application I get this in my apache log: FastCGI: comm with server "/srv/www/htdocs/web4/html/rails/public/dispatch.fcgi" aborted: idle timeout (60 sec) FastCGI: incomplete headers (0 bytes) received from server
2005 Nov 02
1
Windows, Segmentation Faults, config.load_paths and config.cache_classes
...ing below: SCGI 0.4.3 under Windows 2k =========================== At first request I got the "uninitialized constant Blog" mentioned above Subsequent requests are handled ok, until a few request after, when SCGI crashes with: ./config/../vendor/rails/actionpack/lib/action_controller/code_generation.rb:87: [BUG] Segmentation fault ruby 1.8.2 (2004-12-25) [i386-mswin32] This application has requested the Runtime to terminate it in an unusual way. Please contact the application''s support team for more information. Webrick under Windows 2k ======================== In environment.rb I...
2010 Dec 10
0
Encoding issues when uploading files
...`call'' actionpack (3.0.0) lib/action_dispatch/routing/route_set.rb:62:in `dispatch'' actionpack (3.0.0) lib/action_dispatch/routing/route_set.rb:27:in `call'' rack-mount (0.6.13) lib/rack/mount/route_set.rb:148:in `block in call'' rack-mount (0.6.13) lib/rack/mount/code_generation.rb:93:in `block in recognize'' rack-mount (0.6.13) lib/rack/mount/code_generation.rb:75:in `optimized_each'' rack-mount (0.6.13) lib/rack/mount/code_generation.rb:92:in `recognize'' rack-mount (0.6.13) lib/rack/mount/route_set.rb:139:in `call'' actionpack (3.0.0) lib...
2011 May 21
4
request.format = :mobile causes error "undefined method `ref' for nil:NilClass"
....rb:62:in `call'' actionpack (3.0.7) lib/action_dispatch/routing/route_set.rb:62:in `dispatch'' actionpack (3.0.7) lib/action_dispatch/routing/route_set.rb:27:in `call'' rack-mount (0.6.14) lib/rack/mount/route_set.rb:148:in `call'' rack-mount (0.6.14) lib/rack/mount/code_generation.rb:93:in `recognize'' rack-mount (0.6.14) lib/rack/mount/code_generation.rb:68:in `optimized_each'' rack-mount (0.6.14) lib/rack/mount/code_generation.rb:92:in `recognize'' rack-mount (0.6.14) lib/rack/mount/route_set.rb:139:in `call'' actionpack (3.0.7) lib/action_d...
2010 Aug 18
6
undefined method `eq' for nil:NilClass
I''m walking through an example in the "Head First Rails" book, but, instead doing the examples using Rails3.0.0.rc. But, I''m getting this error when browsing for example: http://localhost:3000/advs/1 undefined method `eq'' for nil:NilClass Provided that my advs_controller.rb is as follows: http://pastie.org/private/cd9zntg2ite57ept288kfa Any ideas why
2006 Jul 07
5
Can a route require POST or GET? / REST problem with routing
Hi, A store front a customer wants to GET /product/5/show. But for the application this is really GET /cart_item/new/5 or even better /cart_item/new?cart_item[product_id]=5 When the customer clicks add_to_cart they POST /product/5/show so that the url doesn''t confuse the user when any validation errors occur. But for the applicaiton this should be POST
2013 Feb 10
0
Nested attributes doesnt get updated
...in `call'' actionpack (3.1.3) lib/action_dispatch/routing/route_set.rb:65:in `dispatch'' actionpack (3.1.3) lib/action_dispatch/routing/route_set.rb:29:in `call'' rack-mount (0.8.2) lib/rack/mount/route_set.rb:152:in `block in call'' rack-mount (0.8.2) lib/rack/mount/code_generation.rb:96:in `block in recognize'' rack-mount (0.8.2) lib/rack/mount/code_generation.rb:103:in `optimized_each'' rack-mount (0.8.2) lib/rack/mount/code_generation.rb:95:in `recognize'' rack-mount (0.8.2) lib/rack/mount/route_set.rb:141:in `call'' actionpack (3.1.3) lib/a...
2010 Jul 27
13
3.0.0rc ActionController::RoutingError No route matches
Have been developing on 3.0.0beta4 and just updated to 3.0.0.rc. When I try to link_to() a User object that previously had worked, I get the following: ActionView::Template::Error (No route matches {:action=>"destroy", :controller=>"games", :id=>#<User ..... > Yet I have in my routes.rb file has resources :users and my "rake routes" shows:
2006 Jan 17
15
legacy database and finder_sql nightmare!
This is my first rails app with a legacy database and I''m having a terrible time getting the models set up correctly. I have an order table that has a primary field named order_number. I have a name table with a primary of item_number. These two tables are liked by the item_number and the order_number, but not as you might think. If the order_number is 2500, then each entry in
2011 Dec 05
9
jquery - word is not defined
Just starting out with a beginner book on jquery and the very first thing I am trying fails (has to be me) Rails 3.1 - other jquery things working including a poor example of drag & drop that is my ultimate target here but just simply trying to get every alternating row in a table to have a different css class So I''m using... app/assets/javascripts/people.js.coffee and put in...
2018 Mar 26
0
Interest in integrating a linux perf JITEventListener?
...:sysconf(_SC_PAGESIZE); > + if (pgsz == -1) > + return; > + > + munmap(MarkerAddr, pgsz); > + MarkerAddr = nullptr; > +} > + > +void PerfJITEventListener::NotifyCode(Expected<llvm::StringRef> &Symbol, uint64_t CodeAddr, uint64_t CodeSize) { > + static int code_generation = 1; > + LLVMPerfJitRecordCodeLoad rec; > + > + assert(SuccessfullyInitialized); > + > + // 0 length functions can't have samples. > + if (CodeSize == 0) > + return; > + > + rec.Prefix.Id = JIT_CODE_LOAD; > + rec.Prefix.TotalSize = > + sizeof(rec) +...
2016 Dec 29
1
Interest in integrating a linux perf JITEventListener?
Having something like this available in tree would definitely be useful. For simplicity, why don't we start with support for the second style? This is the long term useful one and would be a good starting point for getting the code in tree. Can you give a pointer to the patch so that I can assess the rough complexity? If it's simple enough, I'd be happy to help get it reviewed
2017 Feb 02
0
Interest in integrating a linux perf JITEventListener?
Hi, On 2016-12-29 13:17:50 -0800, Philip Reames wrote: > Having something like this available in tree would definitely be > useful. Cool. > For simplicity, why don't we start with support for the second style? This > is the long term useful one and would be a good starting point for getting > the code in tree. Works for me. > Can you give a pointer to the patch so that