scripting framework to build Tokaido, to make it easy to share code between rvm2, Tokaido, and the Unix Rails Installer. The majority of the work I have done so far has been in researching how to properly build a portable Ruby, and working with Michal to build the solution in terms of...
Both are maintenance releases that include a few bug fixes. They also include fixes for some vulnerabilities recently discovered in Ruby on Rails: Redmine 2.0.2 (Changelog ) is upgraded to the latest Rails 3.2.5 that fixes the vulnerabilities. Redmine 1.4.3 (Changelog ) includes a fix...
June 1st, 2012 A recap of a couple of fun 'you got your music in my ruby' tools, a few gem updates, and a few useful gems to add to your toolbox on this edition of Ruby5. We recorded before the announcement, but its worth noting that Rails 3.2.5 was released last night. May 29th, 2012...
otherinbox-mail 2.4.4.20120605 A really Ruby Mail handler. install gem install otherinbox-mail Download Documentation Subscribe Stats Authors Mikel Lindsaar 67 total downloads 33 for this version Owners Links Homepage Gemfile gem "otherinbox-mail", "~> 2.4.4.20120605" Versions 2.4.4.2...
In general, when I'm writing tests, the pure functions end up as bare expects and the impure functions end up as scenarios. The following contrived namespace keeps a list of users and allows you to get the full name of each user. The tests for this namespace would often look something...
One of the most harmful things about people discussing the performance of web applications is the key metric that we use. Requests per second seems like the obvious metric to use, but it has several insidious characteristics that poison the discourse and lead developers down ever deep...
is Mike Gunderloy's software development weblog, covering Ruby on Rails and whatever else I find interesting in the universe of software. I'm a full-time Rails developer and contributor, available for long- or short-term consulting, with solid experience in working as part of a distri...
Log in to the admin section of the demo site with the following username and password: Username: admin Password: radiant The demo database is recreated on the top of the hour . Please note that the Radiant admin interface looks best in Safari or Firefox .
Ruby on Rails is not “someone else’s framework.” Over the years, hundreds of people have contributed to Ruby on Rails ranging from a single character to massive architectural changes or significant documentation. All with the goal of making Ruby on Rails better for everyone. Even if y...
Processing PostsController#create (for 127.0.0.1 at 2008-09-08 11:52:54) [POST] Session ID: BAh7BzoMY3NyZl9pZCIlMDY5MWU1M2I1ZDRjODBlMzkyMWI1OTg2NWQyNzViZjYiCmZsYXNoSUM6J0FjdGl vbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA=--b18cd92fba90eacf8137e5f6b3b06c4d724596a4 Parameter...
:confirm => 'question?' - If present the unobtrusive JavaScript drivers will provide a prompt with the question specified. If the user accepts, the form is processed normally, otherwise no action is taken. :disabled - If true, the user will not be able to use this input. :disable_with...
Atualizando a lista anterior (que tinha 12 screencasts falando sobre Rails ), listamos abaixo mais 14 vídeos abordando vários temas a respeito de Ruby e Rails. Aproveite! Screencasts em português : Trabalhando com sessões no Rails Tiny_mce: Editor de texto rico Adicionando lightbox na...
Batsd - новый продукт знаменитых 37signals. Это демон написанный на Ruby, который занимается сбором и хранением статистической информации. Идея похожа на statsd , созданный Etsy. Основное отличие в том, как batsd хранит информацию. Он использует для этого комбинацию Redis и flat files...
tarai 0.1 tarai provides the tarai function. install gem install tarai Download Documentation Subscribe Stats Authors Tanaka Akira 212 total downloads 212 for this version Owners Links Homepage Gemfile gem "tarai", "~> 0.1" Versions 0.1 November 29, 2011
Sending Facebook messages when site has BasicAuth or Redirect When calling FB.ui() to send a message that has a link (say to invite a user to your site), the link must return a 200. Which is incompatible w/ BasicAuth and Redirects. Has anyone found a way to work around this in a stagi...
logged_in_user_context do context "with at least one purchase" do setup do @purchases = paginate([Factory(:purchase)]) @store = @purchases.last.store @user. stubs(:purchases).returns(@purchases) @purchases.stubs(:latest). returns(@purchases) @purchases.stubs(:paginate). returns(@purch...
Here's an example of the code I'm trying to get working... <%= collection_select('book', 'book_type_id', all_book_types, 'id', 'name', :prompt => "Select Book Type...", :style => "width:200px" ) %> I've tried a bunch of different permutations but can't get the style width to even appe...
Essa é uma demonstração de como o uso do framework baseado na linguagem Ruby ainda está crescendo, principalmente nos EUA – mas há demanda também no Brasil. Se você conhece bem os segredos do Rails e quer arriscar um emprego (nacional ou internacional), separamos uma lista de links qu...
Provides ContentType#content_type, File#content_type, File::content_type and String#content_type methods to determine mime type
When JavaScript plays a large part in a Rails application it often becomes necessary to pass data from the app on the server to JavaScript to be used by the client. In this episode we’ll explore some techniques for doing just that. Below is a simple page from a simple Rails applicatio...
A few weeks back, we publicly released the Gauges API . Despite building Gauges from the ground up as an API , it was a lot of work. You really have to cross your t’s and dot your i’s when releasing an API . 1. Document as You Build We made the mistake of documenting after most of the...