Displaying 20 results from an estimated 900 matches similar to: "Migrations from Mysql to Oracle. PLS HELP!"
2006 Jul 04
3
OCIError: ORA-00918: column ambiguously defined
Hi all,
when I execute the command "rake db:schema:dump" i get this error in the
db/schema.rb file.
____________________________________________________
# Could not dump table "region" because of following
ActiveRecord::StatementInvalid
# OCIError: ORA-00918: column ambiguously defined:
SELECT lower(i.index_name) as index_name, i.uniqueness, lowe
r(c.column_name) as
2018 Sep 17
2
add keys and certificate to forwarded agent on remote host
On 17/09/18, Peter Stuge (peter at stuge.se) wrote:
> Rory Campbell-Lange wrote:
> > Can ssh-add work on the remote socket file?
>
> I expect that it will just work<tm>. The local socket is just a
> socket, and the protocol[1] message SSH_AGENT_ADD_KEY is the same.
Local:
$ ssh-agent > /tmp/agent.env
$ source /tmp/agent.env
$ ssh-add ~/.ssh/id_user
$ ssh
2006 Feb 02
3
What is best way to show only records belonging to logged user?
Hi all,
What is best way to show only records belonging to logged user? I
understand that it is better to handle this in model and not controller.
I am thinking of intercepting find methods in model and add clause
something like "WHERE id_user = #{user_id}". I would like to hear if you
would do it likewise and if yes is it better to hack find_by_sql() or
find() method?
thanks in
2007 Jul 10
9
Other parameters on InPlaceEditor
Hi to all,
I have a doubt on like passing other URL parameters to InPlaceEditor
function.
For Ajax.Updater I can use "parameters:", but for InPlaceEditor (or
InPlaceCollectionEditor) I cannot use "parameters". How I make to pass
other parameters to the page that callback?
A sample code:
----------------------------------
var editor= new Ajax.InPlaceCollectionEditor(el, url,
2007 Aug 24
2
error in rails 1.2.3 activerecord
i''m a rails nuby so i don''t know where to fix this in the activerecord
module....
there is no such column in the sys.view.user_constraints.
SELECT uc.index_name FROM user_constraints uc WHERE uc.constraint_type =
''P''
this prevents me from doing a rake test:functionals ...as in below....
C:\railsspace>c:\ruby186\ruby\bin\ruby c:\ruby186\ruby\bin\rake
2010 Mar 30
2
remove_index missed quote_table_name
in lib/active_record/connection_adapters/abstract/schema_statements.rb
there is a missing quote_table_name in line 286 (def remove_index):
execute "DROP INDEX #{quote_column_name(index_name(table_name,
options))} ON #{table_name}"
so my "keys" table can get an index with "add_index" but can''t remove
it (without tweaking)
replacing it to
execute
2018 Sep 17
7
add keys and certificate to forwarded agent on remote host
Apologies if this post is inappropriate to this list; please redirect me
if so.
Our team uses ssh extensively for server access and maintenance
(Debian). An issue is acting as root when operating, for example, over
ansible and keeping a record of who performed the actions, something ssh
certificates solves well.
The problem is then to automate certificate issuance since it would be
pretty
2006 Apr 17
7
MySQL backticks and column names
The upgrade to Rails 1.1 hurt my ability to run tests because it
generated the following MySQL error:
Mysql::Error: You have an error in your SQL syntax; check the manual
that corresponds to your MySQL server version for the right syntax to
use near ''key ON config (key)'' at line 1: CREATE UNIQUE INDEX key ON
config (key)
I have a table called `config` with a column
1998 Jul 21
3
Can't display ".." with the p8 release
Hello,
I ask this question last week but I got no response :
I have installed the 1.9.18p8 release on my HP9000 ( HP-UX
10.20 ). I use the same smb.conf than with the p2 release . I have now
a problem with the Windows 3.11 clients : In the subdirectories of
each share, I can't display the " .. " root directory ( but it works
). Is it a bug
2006 May 22
2
Inserting data in a table with a varchar key field
Hi all,
I have some problems inserting data into a legacy table. the key field
of this table is a field named CIN which is a varchar(15).
when I try insert into this table using a form (generated by the
scaffold generator) I get this Error :
_____________________________________________________________________
undefined method `CIN_before_type_cast'' for #<Candidat:0x370d8c8> |
2005 Dec 15
2
Migrations on SQLServer ??
Hello all,
I''ve spent a while looking for a sniff of this on the wiki or google at
large..
Does migrations work for SQL Server on 1.0 ?
--
------------------------------
Joyeux Noël
------------------------------
Peter Fitzgibbons
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2006 Mar 03
0
acts_as_network plugin
Hi everybody,
I just released by first Rails plugin! :)
Even if it''s very simple, I hope that somebody will find it useful!
You can install it with the ''plugin'' script:
$ script/plugin install
http://svn.pixzone.com/svn/public/plugins/acts_as_network
Anybody knows how to add my public svn repository to the plugin
repositories list?
enjoy! :)
acts_as_network
2006 Feb 02
0
What is best way to show only records belonging to loggeduser?
When I do this, I store the after a successful login. user''s id in
session. My controller actions pass that id into the find method
@tasks = Task.find_all_by_user_id(session[:user_id])
The session would have to be hacked in order for that to be broken. It''s
been secure enough for me.
-----Original Message-----
From: rails-bounces@lists.rubyonrails.org
2008 Jun 08
1
Issue with NA value and Octave compatibility
Dear R developers,
I'm an Octave developer in the process of implementing a single
precision type in Octave and I have an issue with the NA value. The
choice of NA value in Octave was made a few years back so that the high
word of the NA value was 0x7ff00000 and the low word was 0x000007A2 for
compatibility with R and to ease any possible issue with the exchange of
data files between Octave
2007 Mar 21
2
ORA-03106: fatal two-task communication protocol error
Has anyone encountered this error or know how to correct it?
I couldn''t find any Rails-specific info about this on google.
Here are the circumstances:
/usr/local/bin/ruby --version
ruby 1.8.4 (2005-12-24) [i686-linux]
/usr/local/bin/rails --version
Rails 1.1.6
## Create mcd app
rails mcd -d oracle
cd mcd
## Create oracle tablespace & user
sqlplus ''/ as
2008 Jul 01
14
rake aborted! Could not find table ...
I am getting a rake aborted error and I suspect that I am missing a
package on my system since the app works for a friend on this
computer.
Here is the terminal output of the error:
anita@anitas-computer:~/sandbox/shovell$ rake db:migrate
(in /home/anita/sandbox/shovell)
rake aborted!
Could not find table ''stories''
(See full trace by running task with --trace)
2009 Sep 28
5
Multi-databases support
Hi,
While I was hacking ovirt-server, I have found that it's currently
restricted to Postgres DB. Even if I like postgres for serious work on a
server, I really prefer to hack/dev locally on a Sqlite or MySQL DB.
I have googled on rails in order to find a good answer for the "foreign
key problem" which forces OVirt to stay on pg. I have found a plugin on
this particular
2007 Oct 23
1
Compute R2 and Q2 in PLS with pls.pcr package
Dear list
I am using the mvr function of the package pls.pcr to compute PLS
resgression using a X matrix of gene expression variables and a Y matrix
of medical varaibles.
I would like to obtain the R2 (sum of squares captured by the model) and
Q2 (proportion of total sum of squares captured in leave-one-out cross
validation) of the model.
I am not sure if there are specific slots in the
2002 Oct 28
0
Pls help me, you cannot view the list of users at this point of time pls try some time later
Hi all
I have configued samba as a PDC, and window 98 client in user level mode. when i want to add the samba domain users to the share folder, i am unable to get the list of users from the samba servers. It is giving the message that "You cannot view the list of users at this point of time pls try some time later". I don't know thy i am getting this problem.
If anybody knows the
2007 Sep 24
1
Pls sends your CV in www.allindiajobbank.com website. It is fast and gives U positive response. Pls pass this message to Ur friend also because vacancies are waiting.
Pls sends your CV in www.allindiajobbank.com website. It is fast and
gives U positive response. Pls pass this message to Ur friend also
because vacancies are waiting.
IT SALES EXECUTIVE
Job Description :- Lead Generation &
Generating customers by Tele-calling
Calling prospective customers and explaining them about the services.
Lead generation and successful conversion of leads.
Education