久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

<legend id='zF6ho'><style id='zF6ho'><dir id='zF6ho'><q id='zF6ho'></q></dir></style></legend>
  • <tfoot id='zF6ho'></tfoot>
    <i id='zF6ho'><tr id='zF6ho'><dt id='zF6ho'><q id='zF6ho'><span id='zF6ho'><b id='zF6ho'><form id='zF6ho'><ins id='zF6ho'></ins><ul id='zF6ho'></ul><sub id='zF6ho'></sub></form><legend id='zF6ho'></legend><bdo id='zF6ho'><pre id='zF6ho'><center id='zF6ho'></center></pre></bdo></b><th id='zF6ho'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='zF6ho'><tfoot id='zF6ho'></tfoot><dl id='zF6ho'><fieldset id='zF6ho'></fieldset></dl></div>

      <small id='zF6ho'></small><noframes id='zF6ho'>

          <bdo id='zF6ho'></bdo><ul id='zF6ho'></ul>

        如何訪問默認(rèn)的 Rails sqlite 數(shù)據(jù)庫(kù)?

        How to access default Rails sqlite db?(如何訪問默認(rèn)的 Rails sqlite 數(shù)據(jù)庫(kù)?)
        <tfoot id='BcmeQ'></tfoot>

          1. <legend id='BcmeQ'><style id='BcmeQ'><dir id='BcmeQ'><q id='BcmeQ'></q></dir></style></legend>
              <bdo id='BcmeQ'></bdo><ul id='BcmeQ'></ul>

                  <small id='BcmeQ'></small><noframes id='BcmeQ'>

                • <i id='BcmeQ'><tr id='BcmeQ'><dt id='BcmeQ'><q id='BcmeQ'><span id='BcmeQ'><b id='BcmeQ'><form id='BcmeQ'><ins id='BcmeQ'></ins><ul id='BcmeQ'></ul><sub id='BcmeQ'></sub></form><legend id='BcmeQ'></legend><bdo id='BcmeQ'><pre id='BcmeQ'><center id='BcmeQ'></center></pre></bdo></b><th id='BcmeQ'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='BcmeQ'><tfoot id='BcmeQ'></tfoot><dl id='BcmeQ'><fieldset id='BcmeQ'></fieldset></dl></div>
                    <tbody id='BcmeQ'></tbody>
                  本文介紹了如何訪問默認(rèn)的 Rails sqlite 數(shù)據(jù)庫(kù)?的處理方法,對(duì)大家解決問題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來(lái)一起學(xué)習(xí)吧!

                  問題描述

                  我想在使用 Rails 進(jìn)行開發(fā)時(shí)查看我的數(shù)據(jù)庫(kù)中的數(shù)據(jù)(實(shí)際上在所有 3 個(gè)開發(fā)、測(cè)試和生產(chǎn)中).我沒有接觸過配置,所以應(yīng)該很容易,但我找不到任何可用的信息.

                  I would like to view the data in my DB while developing with Rails (actually in all 3 of them development, test and production). I have not touched the configs, so it should be easy, but I was not able to find any usable info.

                  我不知道連接字符串可能是什么或在哪里輸入它,因?yàn)?Aptana (v.3) 似乎缺乏我從 Eclipse 知道的舊數(shù)據(jù)源瀏覽器視圖.有人能指出我正確的方向嗎?

                  I have no idea what the connection string could be or where to enter it, since Aptana (v.3) seems to lack the good old data source explorer view I know from Eclipse. Could someone point me into the right direction?

                  我正在使用 linux - Mint 12

                  I am working on linux - Mint 12

                  推薦答案

                  您忽略了您正在使用的操作系統(tǒng).

                  You have neglected to mention the OS you are using.

                  一種方法是在終端中使用 sqlite3 命令.

                  One way is to use the sqlite3 command in your terminal.

                  sqlite3 db/development.sqlite3
                  

                  但是,對(duì)于檢查行之類的事情,最好使用 rails 控制臺(tái).

                  However, for things like inspecting your rows, you would be better using a rails console.

                  rails c
                  > User.all # Where user is your model.
                  

                  注意:不要直接通過 sqlite3 更改您的數(shù)據(jù)庫(kù)架構(gòu),如果您來(lái)自不同的網(wǎng)絡(luò)堆棧背景,您可能已經(jīng)習(xí)慣了這一點(diǎn).這是因?yàn)橄麓芜\(yùn)行遷移時(shí),狀態(tài)將與 Rails 預(yù)期的不同.

                  NOTE: Do not change your DB schema directly through sqlite3, something you may be used to if you come from a different web stack background. This is because the next time you run the migrations, the state will be different to what rails expects.

                  這篇關(guān)于如何訪問默認(rèn)的 Rails sqlite 數(shù)據(jù)庫(kù)?的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                  【網(wǎng)站聲明】本站部分內(nèi)容來(lái)源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請(qǐng)聯(lián)系我們刪除處理,感謝您的支持!

                  相關(guān)文檔推薦

                  Saving external JSON to DB with Rails(使用 Rails 將外部 JSON 保存到 DB)
                  Error installing mysql2: Failed to build gem native extension(安裝 mysql2 時(shí)出錯(cuò):無(wú)法構(gòu)建 gem 本機(jī)擴(kuò)展)
                  Library not loaded: libmysqlclient.16.dylib error when trying to run #39;rails server#39; on OS X 10.6 with mysql2 gem(庫(kù)未加載:嘗試使用 mysql2 gem 在 OS X 10.6 上運(yùn)行“rails server時(shí)出現(xiàn) libmysqlclient.16.dylib 錯(cuò)誤) - IT屋
                  Import the data from the XML files into a MySQL database(將數(shù)據(jù)從 XML 文件導(dǎo)入 MySQL 數(shù)據(jù)庫(kù))
                  Use specific mysql index with rails(在 Rails 中使用特定的 mysql 索引)
                  Ordering by String that starts with Number - ActiveRecord(按以數(shù)字開頭的字符串排序 - ActiveRecord)
                • <tfoot id='2RLPU'></tfoot>

                      <small id='2RLPU'></small><noframes id='2RLPU'>

                      <i id='2RLPU'><tr id='2RLPU'><dt id='2RLPU'><q id='2RLPU'><span id='2RLPU'><b id='2RLPU'><form id='2RLPU'><ins id='2RLPU'></ins><ul id='2RLPU'></ul><sub id='2RLPU'></sub></form><legend id='2RLPU'></legend><bdo id='2RLPU'><pre id='2RLPU'><center id='2RLPU'></center></pre></bdo></b><th id='2RLPU'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='2RLPU'><tfoot id='2RLPU'></tfoot><dl id='2RLPU'><fieldset id='2RLPU'></fieldset></dl></div>

                          <tbody id='2RLPU'></tbody>

                        <legend id='2RLPU'><style id='2RLPU'><dir id='2RLPU'><q id='2RLPU'></q></dir></style></legend>

                          <bdo id='2RLPU'></bdo><ul id='2RLPU'></ul>
                          1. 主站蜘蛛池模板: 在线国产一区 | 羞羞网站免费观看 | 国产精品成人69xxx免费视频 | 日日操日日干 | 中文字幕亚洲一区 | 国产精品国产a | 亚洲精品一区二区另类图片 | 综合欧美亚洲 | 国产农村妇女精品一二区 | 美女一区二区在线观看 | 欧洲高清转码区一二区 | 日韩成人免费 | 狠狠天天 | 中文字幕成人在线 | 中文字幕精品一区 | 日韩在线免费 | 精品久久中文 | 欧美极品一区二区 | 国产一区二区三区四区区 | 国产91久久精品一区二区 | 国产剧情一区 | 婷婷综合五月天 | 国产免费av网 | 亚洲一区二区三区四区五区中文 | 日日操夜夜操天天操 | 久久久久久久久久久久久久久久久久久久 | 亚洲国产成人精品女人 | 国产精品123区 | 涩涩视频在线观看 | 亚洲97| 一级黄色影片在线观看 | 综合二区 | 午夜久久久 | 四虎最新视频 | 99日韩| 在线国产视频 | 亚洲成人精品在线 | 国产成人精品一区二三区在线观看 | 伊人久久综合 | 熟女毛片 | 国产精品免费播放 |