search for: psadauskas

Displaying 4 results from an estimated 4 matches for "psadauskas".

2007 Jul 18
5
Mocking Rails association collections
Rails model association collections allow you to do nifty things like: article.comments.find(:all, :conditions => {:created_at > 1.day.ago}) Has anyone found a good way to mock this up? I''m currently doing this: @comment1 = mock_model(Comment) comments = mock(Array) comments.stub!(:find).and_return([@comment1]) @article = mock_model(Article)
2010 Oct 26
8
[Bug 31139] New: Wake from sleep doesn't turn on display(s)
...Product: xorg Version: git Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: Driver/nouveau AssignedTo: nouveau at lists.freedesktop.org ReportedBy: psadauskas at gmail.com QAContact: xorg-team at lists.x.org MacBook Pro (Mid 2010 model) with Nvidia NV50 using nouveau driver on Arch Linux. Using both the packaged xf86-video-nouveau (0.0.16_git20100819) and nouveau from git, the display fails to resume after sleep. Happens when closing the lid,...
2007 Oct 25
0
ActiveSupport's JSON decoder is incorrect.
http://dev.rubyonrails.org/ticket/9990 and reiterated here: The current ActiveSupport JSON decoder uses YAML.load to parse json documents, and YAML has different escaping rules from JSON. In particular, in JSON, forward-slashes must be escaped (I''m not sure why, it isn''t neccessary for Javascript, but thats the spec.) This presents problems for URLs in ActiveSupport JSON:
2004 Aug 27
3
Proxy Arp Ip Conflicts
I must have something configured wrong somewhere. I''ve enabled proxy-arp on my shorewall 2.0.7 firewall. Works fine for what its supposed to do, I can see all the machines through it great. However, whenever its enabled, the network on the DMZ goes screwy. I''ve narrowed it down to this: when proxy arp is enabled for that interface, like such: echo 1 >