タグ

ブックマーク / railscasts.com (8)

  • #390 Turbolinks - RailsCasts

    uk-ar
    uk-ar 2013/08/22
  • #347 Rubber and Amazon EC2 - RailsCasts

    Amazon EC2 lets us deploy our Rails applications into the cloud and to scale them on demand by adding or removing service instances. Deploying directly to EC2 gives us a lot of control over the server setup and can be more affordable than other cloud services. That said it puts a lot more work and responsibility in our court, but there is a gem called Rubber that can help us with this. This is a g

    uk-ar
    uk-ar 2013/07/10
  • #403 Dynamic Forms (pro) - RailsCasts

    uk-ar
    uk-ar 2013/07/09
  • #264 Guard - RailsCasts

    しかし、コードに変更を加えるごとにrakeコマンドを実行しなくてはいけないのが少し面倒です。一連の大きなテストの場合、修正が1、2個のファイルだけだったとしてもすべてのテストが終了するのを待たなくてはいけません。これを自動化できる方法があれば便利でしょう。 この問題を解決するツールはいくつかあります。今回のエピソードではGuardを見ていくことにしましょう。このツールは、ファイルの修正を監視して、修正が行われたらある動作を実行します。多様な環境でGuardを利用できるようにするために多くの機能拡張があります。今回利用するRSpec用では、ファイルの修正を監視して修正があったらspecを実行します。RSpecの代わりにTest::Unitを使用しているのであれば、そのための機能拡張もあります。その他にもCucumber、minitestなど多くの環境向けの機能拡張があります。 インストール

    uk-ar
    uk-ar 2013/04/03
  • #284 Active Admin - RailsCasts

    $ rails g active_admin:install invoke devise generate devise:install create config/initializers/devise.rb create config/locales/devise.en.yml ================================================================== Some setup you must do manually if you haven't yet: 1. Setup default url options for your specific environment. Here is an example of development environment: config.action_mailer.default_url

    uk-ar
    uk-ar 2013/03/30
    今回のエピソードではActive Adminを見ていきます。このgemを使うとRailsアプリケーションに管理用画面を簡単に追加できます。見栄えのする管理用画面を作成できるだけでなく、自由にカスタマイズ可能です。ライブデモで実
  • #322 RABL - RailsCasts

    Download: source codeProject Files in Zip (100 KB)mp4Full Size H.264 Video (19.6 MB)m4vSmaller H.264 Video (10.2 MB)webmFull Size VP8 Video (12.2 MB)ogvFull Size Theora Video (23.6 MB) Railsアプリケーションで、モデルデータに基づいてカスタムのJSONデータを返したい場合、これを行う方法はいくつかあります。モデルのas_jsonメソッドをオーバーライドするか、エピソード320でおこなったようにJbuilder gemを使用することができます。もう一つよく使われるのが、RABL gemを用いる方法です。RABLRuby API Builder Languageの略で、その他のツールと比べると若干機能が豊富

    uk-ar
    uk-ar 2013/03/19
    Railsアプリケーションで、モデルデータに基づいてカスタムのJSONデータを返したい場合、これを行う方法はいくつかあります。モデルのas_jsonメソッドをオーバーライドするか、エピソード320でおこなったようにJbuilder gemを
  • #306 ElasticSearch Part 1 - RailsCasts

    Add full text searching using ElasticSearch and Tire. Here I will show the steps involved in adding this search to an existing application. This is the first part in a two part series.

    uk-ar
    uk-ar 2013/01/07
  • About RailsCasts - RailsCasts

    watch on iTunes follow on Twitter follow on Facebook subscribe to RSS feed RailsCasts is produced by Ryan Bates (rbates on Twitter and ryanb on GitHub). A free episode will be released on the first Monday of each month featuring tips and tricks with Ruby on Rails. The screencasts are short and focus on one technique so you can quickly move on to applying it to your own project. The topics target t

    uk-ar
    uk-ar 2012/03/14
  • 1