Pablo Brasero

Results 47 issues of Pablo Brasero

Wanted to work on a potential pull request, but tests were not running at all :-( This pull request brings tests back to life. I can't be 100% sure of...

As described at https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning Just playing with this. No idea of whether it's useful. @nickcharlton, any thoughts?

Fixes #2185. The template `app/views/fields/has_one/_show.html.erb` wasn't using the correct i18n key to translate the field names of the associated record. This PR includes a heavy revamp of `spec/administrate/views/fields/has_one/_show_spec.rb`, which needed...

I think that our documentation is pretty good for experienced Rails developers, who know the conventions well and just want to get going. However I feel that it falls short...

documentation

When https://github.com/thoughtbot/administrate/pull/920 was merged, it broke apps that depended on the old behaviour. These are two reports on this issue: ### Report by @wkirby in https://github.com/thoughtbot/administrate/pull/920#issuecomment-599722598 This PR appears to...

bug
fields
fields-context

* What were you trying to do? Displaying (small display with `display_resource`) a resource for which there is no dashboard. * What did you end up with (logs, or, even...

bug

This is an experiment to see what would be the simplest way to implement https://github.com/thoughtbot/administrate/issues/278 The idea here is to use database views to render index pages, allowing us to...

feature
dashboards

(Bringing here a comment that I left at https://github.com/thoughtbot/administrate/pull/1773#discussion_r510007829, for visibility and discussion.) Search params are sanitized at the bottom (templates/helpers), with information about what's allowed flowing top-to-bottom 1. Dashboard/template...

feature
dashboards

We are not documenting how to add custom assets to complement or override Administrate's own. In fact I recently came across a client project where this was done the wrong...

documentation

At the moment, when `Pundit::NotAuthorizedError` or `Administrate::NotAuthorizedError` is raised within Administrate, the app returns an HTTP 500 status. To reproduce: 1. Visit the example app: https://administrate-demo.herokuapp.com/admin/ 2. On the Customers...

bug