Displaying 20 results from an estimated 2000 matches similar to: "No method exception - figured it out"
2006 Jun 28
0
class Tag in both acts_as_taggable and RubyfulSoup
I''m starting to use RubyfulSoup (http://www.crummy.com/software/
RubyfulSoup/), but my Rails app already uses acts_as_taggable.
RubyfulSoup has a Tag class. In order to get the Tag <<
ActiveRecord::Base and this Tag to co-exist, I had to rename the
RubyfulSoup class to TagSoup. This seems to work so far.
This is almost certainly not the best way to do it, but until I run
2006 May 16
3
Best way to handle namespace collisions?
All,
I have a little namespace collision here. I am trying to use both
RubyfulSoup (an HTML parser - which I highly recommend by the way) and
the ActionView::Helpers::TextHelper class. Within the TextHelper class,
there''s an attempt to create a new "Tag" object. However, Tag is also
defined in the RubyfulSoup gem and it is _this_ Tag class whose
initialize method is
2007 Nov 02
2
Test that controller includes helpers?
Is there an easy way to spec that a controller should include helpers
other than its own? I was thinking I could just spec responds_to for
methods I''m interested in in the view, but that seems like crossing a
separation boundary, that the controller maybe doesn''t need to know about?
Thanks,
Steve
2006 Aug 03
1
Why doesn''t redirect_to handle rjs?
Is there a good reason why redirect_to doesn''t check responds_to, so
it can handle redirects in rjs calls? I''ve done something like this
in my app controller, seems to work ok...
alias_method :redirect_to_orig, :redirect_to;
def redirect_to(options = {}, *parameters_for_method_reference)
respond_to do |accepts|
accepts.html do
redirect_to_orig
2006 Jun 05
1
Unobtrusive javascript...what if?
What if...you could produce accessible, unobtrusive javascript, using
Rails built-in javascript/prototype helpers, with just one extra line
of code in your layout, a plugin, and one small enhancement to the
helpers. Something like this:
[php]
<% form_remote_tag :controller => ''foo'', :action => ''bar'',
:unobtrusive => true %>
# which produces
2013 Nov 22
0
[Announce] Samba 4.1.2 Available for Download
==================================================================
"My fake plants died because I did
not pretend to water them."
Mitch Hedberg
==================================================================
Release Announcements
---------------------
This is is the latest stable release of Samba 4.1.
Changes since 4.1.1:
--------------------
o Jeremy Allison
2013 Nov 22
0
[Announce] Samba 4.1.2 Available for Download
==================================================================
"My fake plants died because I did
not pretend to water them."
Mitch Hedberg
==================================================================
Release Announcements
---------------------
This is is the latest stable release of Samba 4.1.
Changes since 4.1.1:
--------------------
o Jeremy Allison
2006 Jun 24
0
superclass mismatch for class Tag (TypeError)
I am trying to write a ruby script which includes both the ''RubyfulSoup''
gem for HTML scouring, and the rails environment so I can access the
database easily. I get the following error when trying to run this
script.
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/helpers/../../action_controller/vendor/html-scanner/html/node.rb:276:
superclass mismatch for class
2010 Apr 21
0
New Snapshot API Not working
All,
I have compiled new libvirt library 0.8.0. Compilation and installation went really fine except "make check" which has show some test got failed. Here is what make check said.
Failed Test:
---------------snip-----------
PASS: statstest
TEST: qparamtest
................................ 32 OK
PASS: qparamtest
TEST: capabilityschematest
!!!!!!!!!!!!
2007 Aug 30
0
Method missing error after switching to DRB
I am getting these errors after switchign to dRb:
It is trying to call ''add'' on MY SourceListing class, not extended with the
ferret indexing methods.
Any ideas on where to fix this? I''m combing through the code now.
no luck, trying to call class method instead
ferret server error undefined method `add'' for SourceListing:Class
2010 Apr 21
1
New VM Snapshot API Not working
All,
Ok, I got it working.....
Problem was that I didnt include xen option for configure step.
But looks like Xen Hypervisor does not have support of Snapshot. :(
I guess I have to fall back to save and restore method...
Sorry for the noise.
Thanks
Tej
________________________________________
From: Tej Parkash, ERS, HCLTech
Sent: Wednesday, April 21, 2010 2:31 PM
To: libvir-list at
2006 Aug 15
0
Mocha - dynamic method calling
Hi Dylan,
See my comments inline.
On 15/08/06, Dylan Bruzenak <dylanb at digitalvalence.com> wrote:
> I had to put in the method() change so that I could do:
>
> phone_book = mock
> phone_book.method(''lookup'').call(''jim'', ''johnson'', ''tx'')
>
> and have it behave as if I had just called lookup directly.
2006 May 18
1
Unnecessary Gem modules loaded under Rails 1.1.2
All,
Rails 1.1.2
Win XP Pro
Rubyful Soup 1.0.4
htmltools 1.0.9
I am terribly confused as to what pulling in a gem does with respect to
how many modules get loaded at runtime.
I am using two gems in my app, Rubyful Soup and htmltools.
RubyfulSoup requires one module from the htmltools gem
(html/sgml-parser).
My app requires the RubyfulSoup gem.
When I started my app, something was causing
2005 May 11
2
fixme Real Producer install errors
Hello,
I am new to the wine lists, but have successfully used wine in the past
to run windows photoshop from linux.
I'm currently very motivated to get the Windows version of "Real
Producer" running on a Fedora Core 3 server. There is a Linux version
of Real Producer, however the Linux version only works with uncompressed
audio/video, whereas the Windows version supports many
2007 Dec 14
0
Wine release 0.9.51
This is release 0.9.51 of Wine, a free implementation of Windows on Unix.
What's new in this release:
- A bunch of WinHelp improvements.
- Better Japanese font support.
- A ton of rpcrt4 fixes.
- Several Alsa capture fixes.
- Improved support for screen resolution changes.
- Lots of bug fixes.
Because of lags created by using mirrors, this message may reach you
before the release
2006 Feb 26
0
Review of Black, Ruby for Rails, Chapter 4
As others have mentioned, Chapter 4 of David A. Black''s book _Ruby for
Rails_ is now available for download from the Manning site. The fact that
the book is being released one chapter at a time makes it easy to read in
small, digestible chunks. I never intended to review every chapter
individually here, but now that I''ve done the first three, I feel like I
ought to continue.
2013 Aug 19
3
rpcclient netshareenum 502 causes SEGV
Hello:
I have a Windows 2003 Server that is causing rpcclient to SEGV via the
following command:
$ rpcclient -U Administrator%foobar -c 'netshareenum 502' <server>
...
type: 0x6269: SEC_DESC_OWNER_DEFAULTED SEC_DESC_DACL_DEFAULTED
SEC_DESC_SACL_DEFAULTED SEC_DESC_DACL_TRUSTED
SEC_DESC_SACL_AUTO_INHERIT_REQ SEC_DESC_SACL_PROTECTED
SEC_DESC_RM_CONTROL_VALID
SACL
Segmentation fault
2004 Dec 16
1
CAN-2004-1154 : Integer overflow could lead to remote code execution in Samba 2.x, 3.0.x <= 3.0.9
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
==========================================================
==
== Subject: Possible remote code execution
== CVE ID#: CAN-2004-1154
==
== Versions: Samba 2.x & 3.0.x <= 3.0.9
==
== Summary: A potential integer overflow when
== unmarshalling specific MS-RPC requests
== from clients could lead to heap
== corruption and remote code execution.
2004 Dec 16
0
CAN-2004-1154 : Integer overflow could lead to remote code execution in Samba 2.x, 3.0.x <= 3.0.9
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
==========================================================
==
== Subject: Possible remote code execution
== CVE ID#: CAN-2004-1154
==
== Versions: Samba 2.x & 3.0.x <= 3.0.9
==
== Summary: A potential integer overflow when
== unmarshalling specific MS-RPC requests
== from clients could lead to heap
== corruption and remote code execution.
2002 May 24
1
Printing Patches for 2.2.4 (roll-up)
Here's a rollup patch for most of the printing fixes in SAMBA_2_2.
Issues fixed are
* change notification never gets called on a SetPrinter()
* alignment bug in marshalling PRINTER_INFO_2 causes
problems viewing printer properties from win2k/XP clients
* devmode unmarshalling bug causes ACT! 2000 on 2k client
to fail to print
Enjoy. Feedback welcome if this fixes (or does