Pablo Brasero

Results 297 comments of Pablo Brasero

@nickcharlton - Is this actually an issue? We are requiring `image_processing` in the `Gemfile`, which only affects the example app, not the Administrate gem. People who use Administrate won't get...

Yup; I can reproduce. I agree this is odd. I wonder what the original intent was, using `helpers.label.RESOURCE_NAME.ATTR_NAME` instead of `activerecord.attributes.RESOURCE_NAME.ATTR_NAME`. Hm, thinking a bit more, I can see an...

Indeed, I think it was fixed by https://github.com/thoughtbot/administrate/pull/1064/files :slightly_smiling_face: Thank you for the heads up, @jubilee2. If anyone still sees this problem, please let us know and we'll reopen.

Thank you for this, and apologies for the delay to look at it. One problem is that the spec doesn't test the functionality as it's all stubbed. I understand it...

@thebravoman - If you could give it a go, that would be great :slightly_smiling_face: If after some trying, you find it's too complex or otherwise have difficulty, let us know...

I can't reproduce :thinking: This is what I tried: ``` $ rails new --skip-action-cable no_action_cable $ cd no_action_cable $ bundle add administrate $ ./bin/rails generate model thing name code amount:integer...

A custom field is probably a good option, particularly since https://github.com/thoughtbot/administrate/pull/2658 However, I think it's reasonable to do with a `HasOne` too :thinking:

Yeah, the internals of Rails templates are not easy to work with... :sweat: Something that might work though: how about generating the three files (head, body, foot) and then editing...

That looks useful. Thank you @goosys :clap: @sdwolfz, would you have time to look into it? And if that doesn't work... perhaps the crazy idea below will? ```ruby Standard::Cli.new(["--autocorrect", target_file]).run...

Thank you for looking into this @matteeyah! I've been playing with it a bit today. Regarding @gh-axel-czarniak's question on multilevel inheritance, how about the following implementation? (Inspired by the one...