万年素人からHackerへの道

万年素人がHackerになれるまで殴り書きするぜ。

  • ・資産運用おすすめ
    10万円は1000円くらい利益
    資産運用ブログ アセマネ
    • ・寄付お願いします
      YENTEN:YYzNPzdsZWqr5THWAdMrKDj7GT8ietDc2W
      BitZenny:ZfpUbVya8MWQkjjGJMjA7P9pPkqaLnwPWH
      c0ban:8KG95GXdEquNpPW8xJAJf7nn5kbimQ5wj1
      Skycoin:KMqcn7x8REwwzMHPi9fV9fbNwdofYAWKRo

    Rails jqueryのエラー

    /script/rails g jquery:install                         

    すると

      deprecated  You are using Rails 3.1 with the asset pipeline enabled, so this generator is not needed.
                  The necessary files are already in your asset pipeline.
                  Just add `//= require jquery` and `//= require jquery_ujs` to your app/assets/javascripts/application.js
                  If you upgraded your app from Rails 3.0 and still have jquery.js, rails.js, or jquery_ujs.js in your javascripts, be sure to remove them.
                  If you do not want the asset pipeline enabled, you may turn it off in application.rb and re-run this generator.


    よくわからないけど
    ・app/assets/javascripts/application.js

    require jquery
    require jquery_ujs

    これで起動できた

    ◯もんごいど(※もんごアイディーではない)
    mongoid


    Railsの失敗コマンド
    rails d controller lalala
    rails d model yadayada
    rails d scaffold hohoho