Displaying 13 results from an estimated 13 matches for "avemedda".
2006 Mar 01
2
Oracle auto_increment ??? & Rails
To make a new istance of an Oracle table with Rails, i need that this
table had a column named ''id''. This ''id'' must be Primary Key &
auto_increment;.
How Can I modify the ''id'' properties to do it Auto_increment in Oracle?
--
Posted via http://www.ruby-forum.com/.
2006 Mar 24
1
Radio Button Tag and hash @Params.
Hi,
I''ve a little problem using the Radio Button Tag.
I use the " @prove=MODEL.column_names() " to keep attribute names of a
table. After
i used this code to select a attribute subsets of them :
<% i=''0''%>
<% for @obj in @prove %>
<% @key='':key''+i%>
<%= radio_button_tag (@key,@obj) %>
<%
2006 Mar 24
2
check_box_tag
hi,
What''s the right way to use the CHECK_BOX_TAG?
I used:
<% for @pippo in @model %>
<%= check_box_tag (:scelta,@pippo) %>
<% end %>
How Can I control if a person choosen the second or third element of the
vector @pippo?
--
Posted via http://www.ruby-forum.com/.
2006 Mar 27
1
Get in RoR!
How can i rescue the variable value pass with a get method?
thanks, Ivan.
--
Posted via http://www.ruby-forum.com/.
2006 Feb 20
2
Oracle & Ruby on Rails
I''ve a remote database create using Oracle. This database use schemas.
I tried to connect to it using Ruby On Rails,with this file Database.yml
:
development:
adapter: oci
host: liber
database: ENERGIA
username: user
password: pass
test:
adapter: oci
host: liber
database: ENERGIA
username: user
password: pass
production:
adapter: oci
host: liber
database:
2006 Apr 03
1
attribute select problem
Hi,
I''m searching a metod to do a selection suck as:
Select attribute1,attribute2
from table
where conditions
I know that the "find()" and "find_by_sql" methods takes all the
attribute...But i want only attribute1 and attribute2...Can someone tell
me if there''s a method that give me this opportunity?
Thanks,Ivan.
--
Posted via
2006 Mar 01
4
Oracle Bug
I''m using 2 database. The first wrote in MySQL and the second in Oracle.
If i use the command "SET_TABLE_NAME" to forge the model to use another
table, there isn''t no error with MySQL, while with Oracle if i ask the
view "_Form.rhtml" The compiler tell me "No sequence in SELECT
TableName_seq.nextval id from dual"(???).
Could someone tell me where
2006 Mar 02
1
Insert a data in Oracle with Rails
Hi,
I tried many things to insert a data in an Oracle Table, but the Rails
compiler never Works!
I create this Oracle table:
CREATE TABLE "FOO" (
"id" int NOT NULL primary key,
"acolumn" VARCHAR(10) NULL
)
and when i tried to insert a new row the Rails compiler tell me :
OCIError: ORA-00904: invalid column name: INSERT INTO AGO.FOO (acolumn,
id)
2006 Mar 27
0
how the check_box_tag works?
I don''t understand the right functionally of the Check_box_tag!.
def check_box_tag(name, value = "1", checked = false, options = {})
can i put as value, the attribute names of a my model?
I would select some model attribute to work.
--
Posted via http://www.ruby-forum.com/.
2006 Mar 27
1
rescue value
Do you know if exist a method to rescue the variable value pass to a
page .rhtml?
Something sucj as "_GET" in PHP?
--
Posted via http://www.ruby-forum.com/.
2006 Mar 29
0
Cross model''s data
Hi,
Can someone tell me if there''s a rails class or package thar give me the
possibility to cross the model''s data between?
Thanks, Ivan.
--
Posted via http://www.ruby-forum.com/.
2006 Feb 27
2
submit_tag
How can i use the submit_tag method (from: actionView::FormTagHelper)
to create various submit buttons and chose the right action in accord to
the button that i pushed?
--
Posted via http://www.ruby-forum.com/.
2006 Mar 01
7
Oracle Sequence & Rails
the compiler tell me it:
invalid column name: INSERT INTO ago.prova_stats (cognome, nome, id,
telefono) VALUES(''Medda'', ''Ivan'', :id, 70565611)
where ago.prova_stats is the table used by me and that have only the
columns ''cognome'',''nome'' and ''telefono''.
My table hasn''t the column