Displaying 20 results from an estimated 1000 matches similar to: "rhtml produces so many white places?????"
2006 Feb 02
8
How to get all selected rows in the mutli-selection listbox?
Hi,
I have created a multiple selection listbox with
rails, when I try to get the rows selected by user,
rails send back only the first one, how can I get the
other selected rows????
I created the listbox with the following function:
select_tag("form__list1",
options_for_select(["A","B","C","D"], selected = "A"),
html_options =
2006 Jan 25
9
connection_specification and adapter
Hi,
I wish to know, how those class work exactly, where
can I find the documentation? or can someone explain
to me how a connection is made via those class???
Thanks you very much!!!!
Saiho
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
2006 Mar 02
4
LDAP and Rails ???
Hi,
We want to start a new website, and we want to use our
existing authentication system which is LDAP. Can
someone tell me where I can find the information about
how to use LDAP in rails ???
Thanks you very much
Saiho
The mind is its own place, and in itself.
Can make a Heaven of Hell, a Hell of Heaven.
http://www.geocities.com/sayoyo/
__________________________________________________
2006 Mar 16
3
image doesn''t show (rhtml path???)
Hi,
we try to show an image which is not inside the rails
framework, and we are not able to see the image!!!!
does someone know how to do this???
our rails is installed on
/opt/rails/project1/, so inside "project1" we have all
the rails directory like "app", "public", etc.)
our image is on the "/usr/images/"
so in our link on the rhtml. we use a link
2006 Mar 01
4
link_to_remote, doesn''t receives params?????
Hi,
I''m using link_to_remote to trigger an ajax zone, but
depends on a varaible, the new zone has different
features. before I has a button inside a form. so when
I click on the button, I get the value of the variable
inside "params". but since I use link_to_remote now, I
don''t get any value from params anymore.... Is there
some way I can get the data inside a form
2006 Mar 08
4
scrollbar doesn''t show on the right place when using partial( )
Hi,
I''m using partial() to connect ours pages togother,
however, one of the partials is larger than the other,
when it happens, instead of create a scrollbar on the
browser, a scrollbar appears at the end of the
partial, since the partial is in the middle of the web
site. it isn''t really good... So does some one know
how to remove the scrollbar on the partial and put it
on the
2006 Jun 05
7
":database_manager =>CGI::Session::MemoryStore" doesn''t work properly...???
Hi,
We are try to use the "database_manager
=>CGI::Session::MemoryStore" for the session
management. our website has a lot of "redirect_to".
while the website is running under webrick, everything
is fine. But when we run the system under
aprache/fcgi. the redirect_to seems doesn''t work
anymore with the option "MemoryStore"
does anyone have the same
2006 Feb 06
3
where should I start? If I want to use dataschemas with postgresql?
Hi,
How should I use Activerecord to map to a database
schemas with Psotgresql? Where can I find the
infomation about how to use schemas in Rails?
Thanks you very much
Saiho
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
2006 Apr 27
3
HELP!!!! What is the CGIXXXX.YYY stored in /tmp/ ?????
Hi,
We have a website which loads a data file and then
create a html file (according to the data file) with
more than thousand of combobox at a time (on the same
page).
The first time we load that page, everything seems
fine. all combobox have been created. But when we load
a second data file (not the same) the system seems to
create some tempoary files which contains the first
choice of the
2005 Dec 21
10
can an active records maps to N tables?
Hi,
Is it possbile that one active record maps to N
tables, actually the relation is 1 to 1, I wonder it
is possible.
also can a ruby object map to N tables, instead of an
active records?
Thanks you very much:)
Saiho
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
2006 Feb 08
8
Strategies for Unit testing 2 databases
Hi,
My application spans 2 (or more) databases for some very specific
reasons... My models are working fine, even dynamically establishing
connections as needed at runtime, and spanning relationships across the
databases (which really impressed me). The problem is, I can''t seem to
force Units for these models (that use a secondary db) to load their
fixtures into and use the
2006 Jan 05
2
how to use a helper which is not inside app/helpers/
Hi,
I wish to know it is possible to use a helper which is
not inside the folder ''app/helpers'', if it is
possbile, what should I do?
Thanks you very much!!!!
Saiho
__________________________________________
Yahoo! DSL ? Something to write home about.
Just $16.99/mo. or less.
dsl.yahoo.com
2006 Jan 24
3
what this line means exactly? (@@active_connections ||= {})
Hi,
I have problem to understand this line does exactly?
this is from the class ConnectionSpecficication,
methode "active_connections"
def self.active_connections #:nodoc:
if allow_concurrency
Thread.current[''active_connections''] ||= {}
else
@@active_connections ||= {}
end
end
what the line "@@active_connections ||= {}" means
exactly?
as I
2006 Jan 19
4
multiple database in the same actions?
Hi,
I read the example in
http://wiki.rubyonrails.com/rails/pages/HowtoUseMultipleDatabases,
it show us how to connect to other database, each time
we start a new action, however, this doesn''t work
while you try to connect to two different database
within the same action.
SO I wonder is it possible to bind to two or more
database within the same action????
Thanks you very much
Saiho
2006 Feb 14
3
Can Ajax updates more than one <div>?
Hi,
I wish to know, is it possible that Ajax can update
more than one zone "<div>"???? like :
<%= link_to_remote("Title", :update => ''mydiv0'', :url
=> {:action=>:say_hello} )%>
<div id="mydiv0"> to be changed one</div>
<div id="mydiv0"> to be changed two</div>
When I execute the code, only
2006 Feb 13
2
Will session object be send to the user browser each time a request is sent to server?
Hi,
I thinsk the session object will never send to client,
it stays at the server side. can some one tell me if
I''m right?
also it is a good pratice to store data inside the
session object????
Thanks you very much
Saiho
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
2006 Apr 25
2
how can I access a class variable outside of the class???
Hi
we wanted to access a class varaible from outside of
the same class, like
class klass
@@var1
end
we found out we can not use the class variable like
this:
klass.var1 we have to create a class function like
class klass
@@var1
def var1
return @@var1
end
end
If anyone know how to access a class variable directly
without passing by a function???
Thanks you very much
2006 Jul 14
1
ActiveRecord, can it save more than one row at a time????
Hi,
I wonder if there is some fonctions which allow an
activeRecord to save more than one row at a time???
As I understand, when we create an object from
AC::Base, it represents one row of the table. So if I
want to save more than one row, I have to create the
object one by one and then save them one by one. If I
have 10, it is fine, but if I have more than 1000, so
it will a lot of time.... So
2006 Mar 24
1
upload a file to server???
Hi,
We would like to upload a file to the server, like
user chooses a file with a browse button, then click
on a OK button, then the browser send the file to the
server, does anyone know how to do it in rails?
Thanks you very much
Saiho
The mind is its own place, and in itself.
Can make a Heaven of Hell, a Hell of Heaven.
http://www.geocities.com/sayoyo/
2006 Feb 14
4
possible to reload a model in script/console(irb)?
I often use script/console to interact with models.
It would be nice if script/console acted like WEBrick when it comes to
reloading classes that get updated. Anyway to do this?
Short of this, is there a way to tell script/console to reload a class
manually? My current solution is to exit and restart script/console.
-Kelly
-------------- next part --------------
An HTML attachment was