Active Record - Changing from mysql to oracle
up vote
0
down vote
favorite
I am new to rails. We have a application that is running using MySQL database in production. All the seeds job and model are present. Now I need to change to Oracle. I changed the connection adapter to point to Oracle. What are all the other changes required.Do I have to change the model. For authentication and users , we are taking from database using devise gem. So what changes required
ruby-on-rails devise
add a comment |
up vote
0
down vote
favorite
I am new to rails. We have a application that is running using MySQL database in production. All the seeds job and model are present. Now I need to change to Oracle. I changed the connection adapter to point to Oracle. What are all the other changes required.Do I have to change the model. For authentication and users , we are taking from database using devise gem. So what changes required
ruby-on-rails devise
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am new to rails. We have a application that is running using MySQL database in production. All the seeds job and model are present. Now I need to change to Oracle. I changed the connection adapter to point to Oracle. What are all the other changes required.Do I have to change the model. For authentication and users , we are taking from database using devise gem. So what changes required
ruby-on-rails devise
I am new to rails. We have a application that is running using MySQL database in production. All the seeds job and model are present. Now I need to change to Oracle. I changed the connection adapter to point to Oracle. What are all the other changes required.Do I have to change the model. For authentication and users , we are taking from database using devise gem. So what changes required
ruby-on-rails devise
ruby-on-rails devise
edited Nov 8 at 15:20
asked Nov 7 at 18:54
user3263117
971110
971110
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
I am not sure how devise gem fits into the whole equation as I have not used it. But I have had to set up a ruby on rails project to work with Oracle database. It involved installing the Ruby/Oracle Call Interface library.
There are several questions on the same that have been answered. Here's a link to one of them: https://stackoverflow.com/a/31783055/4054389
good luck.
I am using Oracle adapter too to connect to external database.Application uses MySQL db for loading users, encrypted password etc .It has sessions and version table too. Do I have to create seasions table too in oracle
– user3263117
Nov 8 at 17:46
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
I am not sure how devise gem fits into the whole equation as I have not used it. But I have had to set up a ruby on rails project to work with Oracle database. It involved installing the Ruby/Oracle Call Interface library.
There are several questions on the same that have been answered. Here's a link to one of them: https://stackoverflow.com/a/31783055/4054389
good luck.
I am using Oracle adapter too to connect to external database.Application uses MySQL db for loading users, encrypted password etc .It has sessions and version table too. Do I have to create seasions table too in oracle
– user3263117
Nov 8 at 17:46
add a comment |
up vote
0
down vote
I am not sure how devise gem fits into the whole equation as I have not used it. But I have had to set up a ruby on rails project to work with Oracle database. It involved installing the Ruby/Oracle Call Interface library.
There are several questions on the same that have been answered. Here's a link to one of them: https://stackoverflow.com/a/31783055/4054389
good luck.
I am using Oracle adapter too to connect to external database.Application uses MySQL db for loading users, encrypted password etc .It has sessions and version table too. Do I have to create seasions table too in oracle
– user3263117
Nov 8 at 17:46
add a comment |
up vote
0
down vote
up vote
0
down vote
I am not sure how devise gem fits into the whole equation as I have not used it. But I have had to set up a ruby on rails project to work with Oracle database. It involved installing the Ruby/Oracle Call Interface library.
There are several questions on the same that have been answered. Here's a link to one of them: https://stackoverflow.com/a/31783055/4054389
good luck.
I am not sure how devise gem fits into the whole equation as I have not used it. But I have had to set up a ruby on rails project to work with Oracle database. It involved installing the Ruby/Oracle Call Interface library.
There are several questions on the same that have been answered. Here's a link to one of them: https://stackoverflow.com/a/31783055/4054389
good luck.
answered Nov 8 at 17:40
railomaya
388
388
I am using Oracle adapter too to connect to external database.Application uses MySQL db for loading users, encrypted password etc .It has sessions and version table too. Do I have to create seasions table too in oracle
– user3263117
Nov 8 at 17:46
add a comment |
I am using Oracle adapter too to connect to external database.Application uses MySQL db for loading users, encrypted password etc .It has sessions and version table too. Do I have to create seasions table too in oracle
– user3263117
Nov 8 at 17:46
I am using Oracle adapter too to connect to external database.Application uses MySQL db for loading users, encrypted password etc .It has sessions and version table too. Do I have to create seasions table too in oracle
– user3263117
Nov 8 at 17:46
I am using Oracle adapter too to connect to external database.Application uses MySQL db for loading users, encrypted password etc .It has sessions and version table too. Do I have to create seasions table too in oracle
– user3263117
Nov 8 at 17:46
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53195981%2factive-record-changing-from-mysql-to-oracle%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown