Derek Prior

Results 13 issues of Derek Prior

I use hub to check out github prs on clearance and scenic a lot. This sets up new remotes that I dont want to stick around. I'd like an alias...

Rails generators can be reversed with the `destroy` subcommand to rails: `rails destroy GENERATOR_NAME`. Is it possible using ammeter to test this?

I have a generator that inherits from NamedBase and defines a `--sql` `class_option`. I invoke it with `run_generator["foo", "--sql bar"]` but inside the generator `options[:bar]` is `nil`. I looked at...

I ran a scenic migration for a file that doesn't yet exist and was greeted with this: ``` == 20211216184824 CreateSearches: migrating =================================== -- create_view(:searches) rake aborted! StandardError: An error...

Right now both of these actions call `user_from_params`, which calls `user_params`. I think this makes life difficult for people using strong parameters as something they attempt to do with the...

Currently, each account has a single remember token. Signing out of your account on one device will sign you out on all devices because the single remember token is rotated....

features

Consider: ``` ruby class Collection include Her::Model def to_param slug end end ``` When I call `save` on an existing model, Her is still using the `id` column as the...

`editable/rails` is written in coffee script, but this gem does not have a dependency on coffee-rails. The only dependency listed is `railties` which does not have a coffee script dependency.

For some time now, Rails has offered [multiple database support](https://guides.rubyonrails.org/active_record_multiple_databases.html). Scenic, however, operated with the assumption that there is one database, hanging its functionality off the singleton, `Scenic.database`. We should...

It seems that the standard form builder methods support i18n just fine. The `inputs` and `inline_inputs` methods do not, however. Would it be worth adding some i18n to those methods...