betesh

Results 7 issues of betesh

I'm in the process of upgrading a Rails app from 3.2 to 4.0 and there are some new test failures because Rails now type casts on assignment, i.e.: ``` MyModel.columns_hash.fetch('my_column').type...

rails-4.x
db2

When a file in source/javascripts has a .js.coffee extension and contains "#= require site.js", `middleman build` succeeds with middleman-sprockets v4.1.0 but fails with v4.1.1. See reproduction script below. Changing the...

Right now, if I want to verify that I'm POST'ing the right data, I need to do something like this: ``` FakeWeb.register_uri(:post, my_url, body: 'i-dont-care-about-the-response-only-the-request') do_something_that_hits_my_url request_data = CGI.parse FakeWeb.last_request.body_stream.instance_variable_get('@stream').string...

Sometimes, different models need to connect to different databases or as different users. In [lib/spring/application.rb](https://github.com/rails/spring/blob/521090cfc862635d90720e583f0e97e36be05616/lib/spring/application.rb#L251), we make the assumption that the only model that needs to connect to the database...

I don't know if I'm reporting this in the right place. I'm a web application developer, so the world of printer drivers and cups is kind of murky to me,...

I want to be able to display progress of truncation using ruby-progressbar. I don't consider the progress bar itself to be a concern of this gem, so all I've done...

Gemfile: gem 'rspec', '= 3.0.0' spec/described_class_spec.rb: ``` describe Array do describe 'a string' do it { expect(described_class).to eq(Array) } end describe :a_symbol do it { expect(described_class).to eq(Array) } end describe...

Feature