Alexander
Alexander
Hey Martin, I'm using vundle (https://github.com/gmarik/vundle) to manage vim scripts. It has a short syntax for scripts hosted on github, like Bundle 'msanders/snipmate.vim' Bundle 'scrooloose/snipmate-snippets' Bundle 'scrooloose/nerdtree' Bundle 'vim-scripts/NERD_Tree-and-ack' there...
Transaction has a "Refunded" attribute. It's false by default and true when transaction is (surprise) refunded. This commit adds `refunded` property and `refunded?` method to Transaction model.
https://cloudpayments.ru/Docs/Api#cancelOrder ```ruby CloudPayments.client.orders.cancel(id) ``` *Hint* If this PR will not be merged in, just do: ```ruby CloudPayments.client.orders.request(:cancel, id: id) ```
Creating record in table with pg range column does not work. Example: https://github.com/cutalion/rom_experiments/blob/fdae88c28d7f5b59ccf9a40de8a4fc0916b9c2c5/pg_range.rb ```ruby def try(name) yield puts "#{name} works" rescue => e puts "#{name} does not work" puts e.message...
It seems that pg_range extension does not work on inserting records to the database. ```ruby rom.relations.pg_ranges.changeset(:create, range: Date.today..(Date.today + 10)).commit ``` ``` /home/cutalion/.rvm/gems/ruby-2.4.1/gems/rom-sql-2.4.0/lib/rom/sql/extensions/postgres/types/range.rb:80:in `block (2 levels) in range': undefined method...
Association from sql relation to memory relation does not seem to work. ```ruby config.relation(:companies) do # default adapter is sql schema(:companies, infer: true) do associations do belongs_to :market_data, foreign_key: :symbol,...
This factory won't work. ```ruby Factory.define(:announcement) do |f| f.when { 10.hours.since..12.hours.since } # time range f.start_time { |when| when.begin.strftime('%H:%M') } f.end_time { |when| when.end.strftime('%H:%M') } end ``` `syntax error, unexpected...
This test will fail. Overriding `has_many` association does not work. ```ruby context 'has_many' do before do factories.define(:user) do |f| # ... f.association(:tasks, count: 2) end factories.define(:task) do |f| f.sequence(:title) {...
It turned out that pluralization in i81n backend does not work, because `:count` is stripped out from provided options. ```yaml en: foo: one: %{count} foo other: %{count} foos ``` ```ruby...
https://github.com/rack/rack-cache/pull/3#discussion_r960182406