Benjamin Lieb

Results 50 issues of Benjamin Lieb

With the code below, the animation only runs on the first page load, but not when the value of `this.state.mode` changes, showing the other component. How can I get the...

Di you plan on implementing miliseconds? I started using this for an ffmpeg video editing project, and a lot can happen in a second on film. Ffmpeg has a function...

help wanted

Documentation on this page is still missing. I can't really get started without this... http://jsonapi-rb.org/guides/deserialization/defining.html

The following fails with `undefined method 'person_path'` ```ruby attribute :person_path do |obj| url_helpers.person_path obj end attribute :edit_person_path do |obj| "#{obj.person_path}/edit/person" end ```

The following method in `relationship.rb` uses a check for `respond_to? :map` to determine whether an association is plural or not: ```rb def ids_hash_from_record_and_relationship(record, params = {}) return ids_hash( fetch_id(record, params)...

I have a Reservation model that `has_many` "co-reservations" which are also Reservation instances. This sets of a circular (infinite) reference that is bad and sad. Is there a way to...

In my app sometimes I want camel case (for JS data) and sometimes I want underscore data. Is it possible to have one serializer class that can be configured at...

Do you maintain or know of a similar tool for Japanese, and/or Korean?

For my purposes, I needed a more exact lookup functionality. For example: `console.log(hanzi.dictionarySearch('小孩', 'only'))` gave ![image](https://user-images.githubusercontent.com/634562/75623113-fe034480-5b5b-11ea-8c03-d4cf2f68f013.png) `console.log(hanzi.dictionarySearch('小孩'))` gave ![image](https://user-images.githubusercontent.com/634562/75623118-052a5280-5b5c-11ea-989e-49861b70d318.png) But now this `console.log(hanzi.dictionarySearch('小孩', 'exact'))` gives ![image](https://user-images.githubusercontent.com/634562/75623129-1d01d680-5b5c-11ea-836e-68f8ae27700d.png)

I tried this, but doesn't work: sort_link @search, :level, :html => {:title => 'test'} would be nice to have some UI indicator of what the link actually does...