webmachine is a toolkit for building HTTP applications in a declarative fashion, that avoids the confusion of going through a CGI-style interface like Rack. It is strongly influenced by the original Erlang project of the same name and shares its opinionated nature about HTTP.
#209 Devise (revised) Jul 06, 2012 | 8 minutes | Authentication , Plugins Devise is one of the most popular authentication plugins for Rails. Here I show how to set it up with a User model and configure the modules, views, routes, and more. Subscribe to Watch Episode Tweet Show Notes ...
Tracking Inventory (E-commerce Tips 1.3 (Inventory)) Posted by drhenner on July 07, 2012 — 0 comments So many people start having issues tracking inventory when their e-commerce app starts getting a lot of traffic. I made a blog post to discuss some solutions. Comments Post a Comm...
An interactive tutorial that lets you try out Ruby right in your browser. This 15-minute tutorial is aimed at beginners who want to get a feeling of the language. Ruby Koans The Koans walk you along the path to enlightenment in order to learn Ruby. The goal is to learn the Ruby langua...
webmachine-test 0.1.1 Webmachine::Test provides a testing API for webmachine-ruby inspired by rack-test. install gem install webmachine-test Download Documentation Subscribe Stats Authors Bernd Ahlers 58 total downloads 11 for this version Owners Links Source Code Gemfile gem "webmach...
Brakeman has given this error has a weak confidence so it may not be a problem but it’s a good idea to investigate it anyway so that we’re sure. The documentation on Redirect warnings has more details about this time of vulnerability. If we redirect based on the value from a user-supp...
Все знают Siri ? Это персональный ассистент в iPhone 4S. Больше подробностей и классные видео-примеры можно найти на официальной странице . Проект Siri Proxy - это прокси-сервер, который позволяет добавить Siri новую фунциональность. Для запуска и работы системы вам потребуются некото...
Biogem is community developed plugins for the BioRuby. See the complete list , generic information , README , HOWTO and Tutorial . We will discontinue our bug tracking system on RubyForge . Instead, please use Redmine system provided at O|B|F for bug reports. We had the first BioRuby ...
railties/lib/rails/test_help.rb railties/lib/rails/commands/benchmarker.rb railties/lib/rails/commands/profiler.rb railties/lib/rails/commands/plugin.rb actionpack/lib/action_controller/deprecated/performance_test.rb actionpack/lib/action_controller/deprecated/integration_test.rb acti...
Setting Akamai Edge-Control headers with Ruby on Rails Just a short and sweet little tip. Several months ago we moved one of our clients over to Akamai’s Content Delivery Network (CDN). Ww were previously using a combination of Amazon S3 and CloudFr... Updated about 23 hours ago • Wri...
This guide is meant to get you started using Mechanize . By the end of this guide, you should be able to fetch pages, click links, fill out and submit forms, scrape data, and many other hopefully useful things. This guide really just scratches the surface of what is available, but sho...
このテストは作成したファクトリを使用してユーザを作成し、パスワードをリセットするときにユーザがとるであろう手順を、いくつかのCapybaraのコマンドを使ってシミュレートします。ログインページにアクセスし、「password」という単語を含むリンクをクリックします。リンクのテキストを厳密に定義しないことで、テストをより失敗しにくいようにします。テキストが例えば「パスワード忘れ」から「パスワードを忘れましたか?」に変わっても、テストは変わらず成功します。リンク先のページで、テキストフィールドのうち関連づけられたラベルのテキストに「Email」が含まれるものを探して、...
Java is mature. It’s tested. And it’s fast (contrary to what the anti-Java crowd may still claim). It’s also quite verbose. Going from Java to Ruby, expect your code size to shrink down considerably. You can also expect it to take less time to knock together quick prototypes. Similari...
Ruby on Rails is a full-stack web framework optimized for programmer happiness and sustainable productivity. It encourages beautiful code by favoring convention over configuration.
Frequently some user can accidentally press the 'Create' button twice (or more times) when creating a new subtask. In this case, not only the issue will be created a lot of times, but the issue tree will be corrupted. I guess the insertion is being done without transaction isolation, ...
July 6th, 2012 In today's episode, Ruby 1.8.7 gets a final bit of love, a text editor poll, stubbing your constants, performing sorcery on your images, the Twitter gem goes 3.0 and Protocolist. July 3rd, 2012 We scope out our scopes with Periscope, Ruby Open Source Challenge calls on ...
#88 Dynamic Select Menus (revised) Nov 25, 2011 | 7 minutes | Forms , Views Do you need to dynamically change one select menu based on the value of another? Here I show how to filter states/provinces by a selected country using grouped options and a dab of CoffeeScript. Subscribe to W...
Fixtures are external dependencies which can make tests brittle and difficult to read. In this episode I show a better alternative using factories to generate the needed records.
If you have a lot of logic associated with the data inside a session, you'll need some central location to put this logic. See how to create a session based model in this episode.
James Edward Gray II joined the Ruby community in 2004 and they just haven't been able to get rid of him since then. James writes Ruby code for fun and profit, pens books with a good deal of Ruby in them, gives speeches about the language, and runs the local support group for Ruby add...