similar to: Is this a bug?

Displaying 20 results from an estimated 500 matches similar to: "Is this a bug?"

2009 Nov 26
6
will_paginate don't work on jruby platform
Hello all,will_paginate don''t work on jruby platform, the Model.paginate find works ok, accepts all kinds of params, this is config.gem config.gem ''will_paginate'', :version => ''2.3.11'', :source => ''http://gemcutter.org'', but <%= will_paginate @collection %> doesn''t work it always produce nil(so nothing on page).
2006 Sep 04
2
"include" versus "extend" - what's the difference
Hi, Just wondering when one would use "include" over "extend"? Both seem to bring in methods to the class no? The context is I''m just trying to understand why both are used with the acts_as_audited plugin: Full extract from plugin (used within here): ================================================== # Copyright (c) 2006 Brandon Keepers # # Permission is hereby
2006 Jun 08
1
Observable notifying a controller.
I want to code the following task: I have a class, for instance, class A with is a observable. I want to add a controller of my rails system to this class. So I can notify_observer, and it updates all controllers of my system. How do I pass a controller as a parameter to the add_observer() method? And where I put this code? Thanks in advance. Fernando Lujan
2011 Nov 29
7
gem for storing and tracking changes
Hi people I want to know which is the best gem or plug-in to store and track register changes for a rails 3.0.9 app Hope you can help me, thanks -- 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
2011 Jun 16
1
Deep cloning an ActiveRecord
I have a situation where I want to duplicate an ActiveRecord including duplication of has_many relationships. I''ve seen a few plugins but it seems unclear if they will work on Rails3. So I was wondering if anyone has a good suggestion for a plugin they are currently using to do this? Basically I''m doing this because I have an object that I want to allow my users to edit. I
2012 Jan 03
1
Can Arel handle UPPER and LIKE condition?
Hello all, I''ve recently been on a project where somewhere needs using case insensitive search(using UPPER(name) LIKE '''') and LIKE condition, I want to use arel and don''t use the old style string concatenation, can arel handle this? But I check on arel documentation, doesn''t seems have any upper/like operator, and check on arel source, under
2007 Oct 20
3
Learning sources
When i decide to create a GUI for my desktop "Ruby" application, i have been stucked about wxruby. Then i have looked at wxwindows and wxwidgets sources but the syntax was not so familiar to me. Because the examples were written in C++ generally. For understanding main concept this experience was good for me. Later, for more familiar syntax i have looked at wxphyton sources and i read
2006 Aug 19
1
Re: DB Auditing
On Saturday 19 August 2006 11:25, Jeremy Cowgar wrote: > A recent thread titled "DB record versioning/audit" made me post this > message: > > I''ve created a plugin called "acts_as_logged". There already is acts_as_audited. Michael -- Michael Schuerig mailto:michael@schuerig.de http://www.schuerig.de/michael/
2007 Jul 26
1
Lohan the observable
Sorry, that name is a misnomer. However, I was excited to find that Ruby has a built in Observable module and I''m pretty bored, so I apologize in advance.... require ''observer'' # one who is observed class Celebrity include Observable attr_accessor :name attr_reader :is def is=(val) @is = val changed notify_observers(self) end end # one who
2012 Mar 26
2
[LLVMdev] PBQP & CalcSpillWeights
Hi Lang, > From memory your target is not public, so I won't be able to reproduce > the crash myself. Is that correct? Correct. > If that's the case, I could add functionality to dump the PBQP graphs > during allocation. I think they should give me enough information to > debug the issue. Would you be able to share the PBQP graphs? I can share the pbqp graph if you send
2010 Nov 05
0
RoR:OSV: Installation issue
I am trying to get a local installation of OpenStreetView, on Ubuntu 10.10 On installing Rails (2.3.8) and OSV code using git, when I issue "rake" command, I get response, which is reproduced below signature. What is missing from my installation? -- .O.C. $ rake (in /home/meet/OSV/OpenStreetView) /usr/bin/ruby1.8 -I"lib:test" "/var/lib/gems/1.8/gems/rake-0.8.7/lib/
2012 Feb 11
1
rake command shows the error
rails -v=2.3.8 gem -v= 1.4.2 ruby -v=1.8.7 When i issue the "rake" command ,it gives the following error . (in /home/amrit/amrit/OSV/OpenStreetView) /usr/bin/ruby1.8 -I"lib:test" "/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/functional/main_controller_test.rb" "test/functional/upload_controller_test.rb"
2006 Jul 26
1
AuditTrail in Rails
Hello there, I need to build an audit trail system for an application. So far I have been looking at acts_as_versioned and acts_as_versioned_association plugins. I am having troubles getting the second one to work. Any how, do you have any suggestions about how to build a robust audit trail? Thanks, Roland -- Posted via http://www.ruby-forum.com/.
2012 Mar 27
2
[LLVMdev] PBQP & CalcSpillWeights
Hi Lang, I have reduced the testcase as much as possible. The log of the run and the dumped graphes are attached. Cheers, -- Arnaud de Grandmaison On Tuesday, March 27, 2012 01:20:35 Lang Hames wrote: > Hi Arnaud, > > Thanks for attaching those files. I'll take a look at them. > > Commit r153483 adds an option to the PBQP allocator, > "-pbqp-dump-graphs", to
2006 Jul 05
2
Serialized object behaves weird
Hi! I got a class named EinsatzFilter which I serialized to session. Before saving to session it works afterwards I keep getting the message: "undefined method `to_s'' for #<Person:0x38c6ab8>". "Person" is a from ActiveRecord::Base inherited class. Code: class EinsatzFilter include ApplicationHelper attr_reader :personen, :monat, :projekte, :kunde
2012 Mar 27
0
[LLVMdev] PBQP & CalcSpillWeights
Hi Arnaud, Thanks for attaching those files. I'll take a look at them. Commit r153483 adds an option to the PBQP allocator, "-pbqp-dump-graphs", to dump the PBQP graph for each round of each function in a compilation unit. The generated files are named "<module id>.<function>.<round>.pbqpgraph", and contain a simple text representation of the PBQP graph.
2013 Apr 03
1
Process substitution and read.table/scan
Hello, I did the same question on stackoverflow (http://stackoverflow.com/questions/15784373/process-substitution) but did not understand completely the issue so I'm reporting it here: " I've given a look around about what puzzles me and I only found this: http://stackoverflow.com/questions/4274171/do-some-programs-not-accept-process-substitution-for-input-files which is partially
2013 Apr 03
1
Process substitution and read.table/scan
Hello, I did the same question on stackoverflow (http://stackoverflow.com/questions/15784373/process-substitution) but did not understand completely the issue so I'm reporting it here: " I've given a look around about what puzzles me and I only found this: http://stackoverflow.com/questions/4274171/do-some-programs-not-accept-process-substitution-for-input-files which is partially
2009 Mar 15
3
Capistrano deploy errors
Hi, when I do cap deploy:cold I get this error: rake aborted! undefined local variable or method `acts_as_commentable'' for #<Class: 0x7fa1c34a2f10> /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/ base.rb:1833:in `method_missing_without_paginate'' /usr/local/lib/ruby/gems/1.8/gems/mislav-will_paginate-2.3.8/lib/ will_paginate/finder.rb:170:in
2012 Apr 05
2
[LLVMdev] PBQP & CalcSpillWeights
Hi Lang, Thanks a lot for taking time to look into this. I will test the fix soon and let you know the results. Cheers, -- Arnaud de Grandmaison On Tuesday, April 03, 2012 17:30:33 Lang Hames wrote: > Hi Arnaud, > > Apologies for the delayed reply. > > Thank you for the excellent test case - it exposed a subtle bug in the > colorability heuristic. This has been fixed in