Pablo Brasero

Results 298 comments of Pablo Brasero

Thank you for your feedback, @AFlowOfCode. I've been looking into this a bit today, using [the Bullet gem](https://github.com/flyerhzm/bullet) and the Administrate demo app. On first approach, I'm not sure that...

@cguess - Which `count` are you referring to? Is this something that can be fixed by overriding methods in the controller? PRs are welcome. I must admit that there's always...

Perhaps this should be solved outside Administrate? I'm thinking of using the `counter_cache` option to `belongs_to`, and show this in the index page, instead of the `HasMany` field. See: https://guides.rubyonrails.org/association_basics.html#options-for-belongs-to-counter-cache

Hello all. I've been looking into this in the last few days. I think I may have a solution, but let's see what you think first. ### 1. Administrate's implementation...

That precounter gem looks neat. On one hand, I think that Administrate should use Rails's own default, conventional choices which in this case would mean using counter caches, but it...

Thank you for raising this issue. I had a look and I can see it's indeed a bug. Would you be able to try out this branch and see if...

Just had a cursory look. I'm not sure about Selectize being referred to directly on the Ruby code. Although it helps remove some duplication, I think it tightens the dependency...

@sedubois - I'm still not convinced about that option. The first thing is that I don't like adding that method to `Field::Base`, as it encumbers its interface with detail that...

@sedubois - To fix that error, add: ```ruby ### /lib/administrate/base_dashboard.rb require "administrate/field/collection_select" ``` Admittedly, that's probably a less clear part of creating a new field type :-/