You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
Split 📈 The Rack Based A/B testing framework https://libraries.io/rubygems/split Split is a rack based A/B testing framework designed to work with Rails, Sinatra or any other rack based app. Split is heavily inspired by the Abingo and Vanity Rails A/B testing plugins and Resque in its use of Redis. Split is designed to be hacker friendly, allowing for maximum customisation and extensibility. Inst
Strano The Github backed Capistrano deployment management UI. Strano allows you to run any capistrano task via a clean and simple web interface. Simply create a project from any of your Github repositories, and Strano will use the Capistrano configuration within the repository itself. Which means you don't have to set up Capistrano twice, and you can still run capistrano tasks from the command lin
Railsエンジニアになってから1年半くらいが経ち、社内のRailsのプロジェクトを全部で5つくらい触って、今やってるAbilie*1でようやく人並みにテストを書いてる気がしてきたので、現時点でやってるテストの方法をまとめておく。 テストのルール的なの rspecでは必ずモデルのテストは書くようにしてる。ヘルパーも大体書いてるけど、コントローラやルーティングのテストはあまり書いてない。 というのも、コントローラーのコードを極力短くしてモデルを太らせているのでコントローラのテストはあんまり意味が無い気がしていて、その代わりにCapybaraでテストを書いておけば十分なんじゃないかなと思ってきたから。Capybaraは書いてるので、そういう意味では書いてるとも言える。 社内の管理者だけが使える管理画面も作ってるけど、そっちはテストあんまり書いてない。ここは動かなくなっても一般ユーザーには影響が
Other Mu Dynamics Sites blitz.io Application Performance Management for the Cloud Pcapr The world's largest online crowd-sourced packet repository used by thousands of users Mu TestCloud Thousands of ready-to-run tests for Mu Studio customers At blitz.io, for a while there, we were only relying on CouchDB clusters as the primary NoSQL database with some in-memory caching. As we grow (rapidly
Categories About This Blog(6) Book Reviews(8) Character Encodings(12) Conferences(4) Deadly Regular Expressions(4) Early Steps(4) Higher-Order Ruby(6) Key-Value Stores(7) Language Comparisons(4) My Heroes(2) My Projects(5) Non-code(4) Rails(4) Rubies in the Rough(24) Ruby Tutorials(4) Ruby Voodoo(12) Rusting(5) Screencasts(3) Terminal Tricks(4) The Gateway(4) The Ruby VM Interview(6) The Standard
Redis::TextSearch - Use Redis to perform text search from any type of class¶ ↑ This gem implements an extremely fast text search using Redis, based on the patterns from James Gray’s lists and sets in Redis post as well as Antirez’s text search gist. You can use it with any type of class, whether it be ActiveRecord, DataMapper, MongoRecord, or even a class having nothing to do with an ORM. This is
1 class Video < Ohm::Model 2 attribute :url 3 attribute :created_at 4 set :tags 5 6 index :url # 検索対象には全てindexを作成する 7 index :tags # 検索対象には全てindexを作成する 8 end pkeyのidが勝手に定義される redisで利用可能なvalueの型は、文字列と集合 Ohmでは文字列型を attribute で定義する Ohmでは集合型を set で定義する Ohmではさらに独自の list(順序付き集合), counter(増減のみ操作可能な数値) 型が利用可能 使用例 1 video = Video.new(:url=>"http://www.you...", :tags=>"愛理") 2 video.save 3 video.tag
Gem · Code · Docs · Wiki
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く