Displaying 20 results from an estimated 400 matches similar to: "matching values in arrays"
2006 Mar 07
0
RE: nuevos requisitos
Ok, barbaro, entonces los nuevos requerimientos ser?an:
1) Que ariel pueda cambiar la configuraci?n de su pantalla.
2) Que ariel pueda acceder al servidor de desarrollo (10.0.9.119)
a los puertos comunes de servicio (ftp, smtp, pop3, imapd, http, https,
samba, svn, csv). Lo que necesito que acceda ahora es al samba, http y
svn, lo dem?s planeo darle un futuro uso.
3) En
2006 Jan 29
0
how to map a relation?
Ok, this is the tables
create table statussir (
idstatussir primary key int auto_numeric,
description varchar(255)
);
create table statussir_next (
idstatussir int not null,
idstatussir_next not null,
foreign key idstatussir references statussir(id_statussir),
foreign key idstatussir_next references
statussir(id_statussir)
);
so, the idea is
2006 May 16
0
tow rails applications in a single virtual host in apache
I have apache as my seb server, and fastcgi.
I have two applications, a typo application (blog.iplan.com.ar) and a
demo application, and I have to merge these two applications so they can
all work in one single hosting.
In example, today, I have
blog.iplan.com.ar (typo)
and I need
<http://www.iplan.com.ar/> www.iplan.com.ar (typo)
blog.iplan.com.ar/demo (demo rails
2006 Jun 05
4
transactions
Can you give me some links where transactions in rails are explained in
depth? Thank you
PS: I''ve looked in google, but I just couldn''t find good articles, I''m
working with postgresql
Rodrigo Dominguez
Iplan Networks Datos Personales
rdominguez@iplan.com.ar rorra@rorra.com.ar
www.iplan.com.ar <http://www.iplan.com.ar/>
2006 Jun 22
0
xml rpc client
I am doing a xml rpc client.
Is there a way to display what I''m sending to the server???
This is the code:
class OrderApi < ActionWebService::API::Base
api_method :IPLWSNroDisponible,
:expects => [{:app_key => :string},
{:number_type => :string},
{:number_sub_type => :string},
2006 Aug 14
1
various returns parameters in action web service
I''m working with ActionWebService, building a SOAP Service.
I realize that I can returns various values, in example:
api_method :foo,
:expects [ { :value1 => :int },
{ :value2 => :int } ],
:returns [ { :return_value_1 => :int},
{ :return_value_2 => :string},
{ :return_value_3 =>
2006 May 24
2
array parameters in web services
I''m working in a web service, actually, I have:
class UnifiedLoginApi < ActionWebService::API::Base
class CLL_Metadata < ActionWebService::Struct
member :key, :string
member :type, :string
member :value, :string
member :webapplication_id, :string
member :user_tenfold_id, :string
member :login_username, :string
2006 Jun 05
0
question about partial page templates?
Can I call helper functions from the Partial Page Templates?
Because I want to call a function from the ApplicationHelper int a
partial page template, but it says that the function is not defined
Rodrigo Dominguez
Iplan Networks Datos Personales
rdominguez@iplan.com.ar rorra@rorra.com.ar
www.iplan.com.ar <http://www.iplan.com.ar/>
www.rorra.com.ar
2006 May 31
0
web services datat types
Ok, this is the model (just two structs)
class CLL_Answer < ActionWebService::Struct
member :server_status, :bool
member :answerDescription, :string
member :answer, :string
member :metadata, CLL_Metadata
end
class CLL_Metadata < ActionWebService::Struct
member :key, :string
member :type, :string
member :value,
2006 May 31
0
web service parameters
Can I return an structure array from a web service in rails?
I have this:
class CLL_Metadata < ActionWebService::Struct
member :key, :string
member :type, :string
end
and I want to do this:
class UnifiedLoginApi < ActionWebService::API::Base
api_method :GetMetadata,
:returns => [ [CLL_ Metadata] ]
but when I do:
2006 Apr 04
1
ActiveRecord object
I have an ActiveRecord class
class User < ActiveRecord::Base
end
and I want to define an attribute, in example "links", links will be an
array.
class User < ActiveRecord::Base
attr :links
end
and now, I want links to be an array, so I do
class User < ActiveRecord::base
attr:links
def initialize(attributes)
super(attributes)
@links =
2006 Mar 28
0
ajax question about refreshing divs
Ok, I have manny divs in the html, and I have a login form in a inner
div, if the user tries to login and the user/password is invalid, only
the inner div needs to be refreshed and show the user the error. If the
user/password is ok, the main div needs to be refreshed.
How could I do this?
this is the view in example
<div id="MainDiv">
foo
<div
2006 Mar 29
0
I can''t get to work css class with link_to_remote function
What am I doing wrong?
This is the code
<%= link_to_remote "Mi Cuenta", :update => "MainSpace", :url =>
{:controller => "account", :action => "login"}, :class =>
"menu_link_superior" %>
This is the result
<a href="#" onclick="new Ajax.Updater(''MainSpace'',
2006 Aug 14
0
return values in SOAP with Action Web Service
I''m working with ActionWebService, building a SOAP Service.
I realize that I can returns various values, in example:
api_method :foo,
:expects [ { :value1 => :int },
{ :value2 => :int } ],
:returns [ { :return_value_1 => :int},
{ :return_value_2 => :string},
{ :return_value_3 =>
2006 Nov 04
0
deleting associations
I have two class, client and contacts
A client has many contacts
class Client < ActiveRecord::Base
has_many :contacts
end
class Contact < ActiveRecord::Base
belongs_to :client
end
--------------------------------------------
I have the next data
Table clients
id name
1 John
Table contacts
id email
1 john@yahoo.com.ar
2 john@gmail.com
3
2006 Jan 28
7
cool components in the form
Is there a easy way to add components like:
http://www.dynarch.com/projects/calendar/
http://tinymce.moxiecode.com/example_full.php?example=true
in ruby forms, by plugins or whatever?
Thank you
Rodrigo Dom?nguez
Iplan Networs
www.iplan.com.ar <http://www.iplan.com.ar/> ? rdominguez@iplan.com.ar
www.rorra.com.ar <http://www.rorra.com.ar/> ? rorra@rorra.com.ar
--------------
2006 Mar 09
6
rmagick and captcha
Has anyone implemented a captcha with ruby on rails and rmagick?
I tried this example:
http://wiki.rubyonrails.com/rails/pages/HowtoSecureFormsWithNoisyImages
but I got an error:
undefined method `size'' for #<NoisyImage:0x34d8070>
Thank you
--------------------------------------------------
Rodrigo Dominguez
?
Iplan Networks ???????????????Datos Personales
2006 Feb 27
21
what hardware shuld I but to manage 100k of connections per day?
I''m doing a fotolog for a company.
It''s expected to manage about 100k of connections per day and about 1500
concurrents connections.
What hardware should I buy to manage those numbers of connections?
I''m planning to use slackware + lighttpd + fastcgi, but perhaps we will
have to reuse some scripts in php, in that case I would use slackware +
apache + mod_php + fastcgi
2006 Apr 28
0
RE: Rails Digest, Vol 19, Issue 784
I am having a bit of trouble with the error. I hava a product and category table and wanting to display the categories in a drop down list. Below is the error I get. Any suggestion on how I can fix this.
undefined method `name'' for #<Category:0x3652448>
9: <select name="product[category_id]">
10: <% @categories.each do |category| %>
11:
2003 Aug 21
0
Browse lists on large network
Hi,
I have a large network with linux (or OpenBSD) routers which all
run samba servers. There are also win95,98,2k and XP clients. I
didn't completely understand BROWSING-Config.txt. Eg.:
(clients1) --- (ROUTER1) --- (clients2) --- (ROUTER2) --- (client3)
|
|
(ROUTER3) --- (clients4)
How should I set those routers?