Displaying 20 results from an estimated 20000 matches similar to: "Get in RoR!"
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 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 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 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 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
2006 Mar 27
3
Specify a controller action via attribute in INPUT tag?
I have a pre-existing form with one existing "SUBMIT" tag generated by
<%= submit_tag %>
I would like to add another <INPUT type="submit" ...> to my form.
How do I successfully associate that <INPUT> tag with a different
controller action than the default one specified by my <%=
start_form_tag %>?
Or does this approach even make sense?
In RoR, is
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 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/.
2003 Feb 10
1
Mangling problem
Hi,
I have a strange problem with Samba on RedHat 7.2. In one directory there is
many files with similar long file name (10+ digit file name for many
pictures). When I dir this directory, I can see many files with different
long file name, but with exactly the same short file name. There is about
3-5 files with the same 8.3 DOS file name.
I really don't understand how can it happen and what
2006 Mar 27
5
Fake ActiveRecord model?
Hi all,
I have a legacy table which I cannot get to work with ActiveRecord (no
ids etc). All I want is to create a class which opens a connection
manually and allows me to execute some plain SQL statements.
What I can''t figure out is how to either build up a connection and
execute queries from a non-AR inherited class, or how to create a
AR-inherited class minus all the AR magic and
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 Jan 06
6
RoR API Firefox search plugin
Hi,
Lately I''ve been visiting the RoR API site quite often, so I modified a
Firefox search plugin to make searches to it (with Google). So here I
post it in case someone finds it useful:
<SEARCH
version = "7.1"
name="Google - RoR API"
description="RoR API SiteSearch"
method="GET"
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)
2005 Dec 27
6
Best Environment for development
This is a newb question, and probably one that is a matter of taste
more than objective merit.
I''m working on a home server, running Linux [FC 4], hosting a website
[look for generocities.com shortly]. I have a delightful new Windows
XP Pro Dell Inspiron 9300 laptop.
What would the community recommend for the environment in which I develop?
I don''t mean technologies like RoR
2007 Sep 21
0
RoR Wireless?
Hi guys!
Does anyone have any knowledge and experience in using RoR for wireless
applications?
I am thinking of implementing a few features at my site www.quickker.com
and would appreciate any input on that topic. Please use Ruby on Rails
Group at Quickker for the answers.
Best regards,
Ivan
Quickker.com Founder
--
Posted via http://www.ruby-forum.com/.
2006 Mar 26
1
static file streaming
At 08:52 AM 3/26/2006, oddsock wrote:
>At 12:19 AM 3/26/2006, Ivan Zahoranszky wrote:
>>Sorry! The links I tried are:
>>
>><http://my.server.hu/try.mp3.m3u>http://my.server.hu<http://my.server.hu/try.mp3>
>>:8000<http://my.server.hu/try.mp3.m3u>/try.mp3.m3u
http://my.server.hu/try.mp3.m3u <-- THAT is the proper form..
>that is the proper form
2006 Oct 13
5
RoR + oracle + bind vars
Hi,
I have a question about bundle: RoR + oracle + bind variables.
Heaving read forums/blogs/etc I found out RoR does not use bind vars
for oracle particularly (and for all adapters in general).
Then I found Michael''s patch
(http://dev.rubyonrails.org/attachment/ticket/5199/oracle_bind.patch)
but it was not added to the following RoR versions (since the end of
May). As I suppose it was
2012 Jan 06
4
ZFS Upgrade
Dear list,
I''m about to upgrade a zpool from 10 to 29 version, I suppose that
this upgrade will improve several performance issues that are present
on 10, however
inside that pool we have several zfs filesystems all of them are
version 1 my first question is is there a problem with performance or
any other problem if you operate a zpool 29 with zfs filesystems
version 1 ?
Is it better
2005 Jun 20
2
MIT Kerberso or Heimdal Kerberos what is the question?
I have some problem whit Kerberos.
OS: FreeBSD 5.3
Domain: W2k3 native mode.
1)I am Installing Heimdal 0.6.1 over port. Config /etc/krb5.conf
%/usr/local/bin/kinit ivan
ivan@NKMK.RU's Password:
kinit: krb5_get_init_creds: Response too big for UDP, retry with TCP
2)Compile and install Heimdal 0.6.4 over source
%/usr/local/bin/kinit ivan
ivan@NKMK.RU's Password:
kinit: