Piero Dotti

Results 18 issues of Piero Dotti

I'm using Rails 5.0.1 and acts_as_list v0.8.2 and postgresql. When creating items in a list concurrently (like in concurrent xhr requests), positions gets repeating. I tried to replicate in console:...

I think it can be done easily in WebAudio API using `playbackRate`. https://webaudio.github.io/web-audio-api/#widl-AudioBufferSourceNode-playbackRate Not sure for other contexts...

Request

### Steps to reproduce You can just start from a fresh `rails new [project-name]` installation. Channel code: ```ruby class ArticleChannel < ApplicationCable::Channel def subscribed stream_from "ArticleChannel" end def unsubscribed #...

I have this task: ``` ruby desc 'Tests input parameters' task :params do |args| options = {} OptionParser.new(args) do |opts| opts.banner = "Usage: rake params [options]" opts.on("-F", "--file {file}", "A...

I tried the "monkey way": ``` ruby class Article include Neo4j::ActiveNode include ActiveRecord::NestedAttributes has_many :out, :quotings, rel_class: :QuotingRel accepts_nested_attributes_for :quotings end ``` But it crashes with a `block in accepts_nested_attributes_for':...

I'm doing a few benchmarks for my app using [`derailed`](https://github.com/schneems/derailed_benchmarks) gem. I noticed that `neo4j` is including `neo4j-rake_tasks`, that is useful for development, but I don't think it's very useful...

Just a spec demonstrating that the `cached_tag_list` column is ignored when calling `tag_list`. The strange thing is that, instead, `tag_list_cache_on(:tags)` works as expected. Still investigating. The failing line is this...

I noticed that it's possible to do: ``` ruby query.where('q.name = ?', 'something') ``` But not: ``` ruby query.set('q.name = ?', 'something') ``` It could be useful in this case:...

Hi there, This is a porting of the python implementation in Ruby. I need this library for our company projects in Ruby on Rails 💎 I hope you'll decide to...

Hello! This change allows to use the --pid/-P option in `rails server`. Example: ``` bash rails server -P tmp/pids/server.pid ```