Displaying 7 results from an estimated 7 matches for "searchcriteria".
2009 Feb 02
9
ActiveRecord Unexplainable SystemStackError - Only in WEBrick
...ActiveRecord::Base
has_many :deliveries, #,:select=>''id, user, host, delivered,
region_id, package_id'',
:include=>:region,
:dependent=>:delete_all
def self.search(criteria)
raise ArgumentError, ''argument must be of type SearchCriteria''
unless criteria.is_a\
?(SearchCriteria)
clause = build_search_where_clause(criteria)
find(:all, :include=>[:deliveries], :conditions=>clause)
end
end
class Delivery < ActiveRecord::Base
belongs_to :package
belongs_to :region
end
class Region < ActiveRecord::Base...
2007 Feb 06
0
yajb - java-ruby bridge
...s using started
misbehaving. now i''m giving yajb a shot which seems to behave the way
i expect it to and is a lot simpler to code. my problem:
i have a class that takes a constant, which is a member of the class,
so i have to do something like this to make it work:
const_accessor = jnew :SearchCriteria, "dfdfa", "dasf", 0
#we can access constants from class now
search = jnew :SearchCriteria, "FirstName", "Stuart",
const_accessor.CRITERIA_EQUALS
#this works..
i tried this:
search = jnew :SearchCriteria, "FirstName",
"Stuart", :SearchCrit...
2006 Jul 21
4
observe_field submit behavior
I am using observe_field on a number of multi-selects and checkbox form
elements whose values would normally come in as arrays on a normal
(non-Ajax) form post.
I understand that by using the :with => ''name'' I will get name=value in
the request.raw_post however if the field I am submitting has mutliple
values and the name is of the form ''name[]'', I get
2011 Feb 10
4
Printer drivers installation: files are not deleted
Hello all,
I'm running Samba 3.5.5 on Debian 5, and following the documentation as
closely as I can to install drivers using rpcclient.
I first install the driver on a Windows 7 x65 workstation, then use
rpcclient/smbclient to fetch the files.
I then use smbclient to put those on the print$ share of the Samba
server. So far, so good.
Then I use rpcclient to add those files, and that
2006 Jan 12
4
where is the ActionStruct::Base in rails???
there is a example in
http://api.rubyonrails.com/classes/ActionWebService/Base.html
and it mentioned
<code>
class SearchCriteria < ActionStruct::Base
member :firstname, :string
member :lastname, :string
member :email, :string
end
</code>
but i can not find ActionStruct''s source code in the rails''s
distribution,and i found ''NameError: uninitialized constant
ActionStruct&...
2010 Oct 20
0
No subject
...afterwards it says "Permission denied" And the driver get not =
registered.
Where do you geht the filenames, the drivers needs?
as i cant use rpcclient to register the drivers from commandline.
best regards
thomas
# Thomas Stegbauer
#
https://keyserver1.pgp.com/vkd/SubmitSearch.event?SearchCriteria=3Dthomas=
@steg
bauer.info
# PGP Fingerprint: C5B5 BDBD 6607 A9DF E545 0EC5 9DDF 9749 BD05 808A
Am 10.02.2011 15:37, schrieb Laurent Blume:
> Hello all,
>
> I'm running Samba 3.5.5 on Debian 5, and following the documentation=20
> as closely as I can to install drivers using rpcc...
2010 Oct 20
0
No subject
..."Permission denied" And the driver get not registered.=
=20
Where do you geht the filenames, the drivers needs?=20
as i cant use rpcclient to register the drivers from commandline.=20
best regards=20
thomas=20
# Thomas Stegbauer=20
#=20
https://keyserver1.pgp.com/vkd/SubmitSearch.event?SearchCriteria=3Dthomas at s=
teg=20
bauer.info=20
# PGP Fingerprint: C5B5 BDBD 6607 A9DF E545 0EC5 9DDF 9749 BD05 808A=20
Am 10.02.2011 15:37, schrieb Laurent Blume:=20
> Hello all,=20
>=20
> I'm running Samba 3.5.5 on Debian 5, and following the documentation=20
> as closely as I can to instal...