Active Record - Changing from mysql to oracle











up vote
0
down vote

favorite
1












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










share|improve this question




























    up vote
    0
    down vote

    favorite
    1












    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










    share|improve this question


























      up vote
      0
      down vote

      favorite
      1









      up vote
      0
      down vote

      favorite
      1






      1





      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










      share|improve this question















      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






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 8 at 15:20

























      asked Nov 7 at 18:54









      user3263117

      971110




      971110
























          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.






          share|improve this answer





















          • 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











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














           

          draft saved


          draft discarded


















          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

























          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.






          share|improve this answer





















          • 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















          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.






          share|improve this answer





















          • 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













          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.






          share|improve this answer












          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.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          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


















          • 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


















           

          draft saved


          draft discarded



















































           


          draft saved


          draft discarded














          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





















































          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







          這個網誌中的熱門文章

          Academy of Television Arts & Sciences

          L'Équipe

          1995 France bombings