Rebecca Le

Results 12 comments of Rebecca Le

I ended up using an alternative gem (Chroma) to do it, but eh. The sass gem provided methods to adjust colours, and I can see that the code for libsass...

an unused alias warning is also raised if the modules are used in action blocks, eg. ```elixir alias MyApp.SetInitialPosition actions do create :create do change SetInitialPosition end end ``` This...

Seeing a similar thing. ``` class Listing < ActiveRecord::Base attribute :properties, ListingProperties.to_type validates :properties, store_model: true accepts_nested_attributes_for :properties ``` `ArgumentError (No association found for name `properties'. Has it been defined...

ah hah I misread the documentation then :) cheers! (but I think this is what the OP was trying to do as well)

I've been using this fork while upgrading to Rails 5, and it throws one deprecation warning when running tests (over and over again): ``` DEPRECATION WARNING: Using positional arguments in...

Yeah - the `process` method in the test helper instantiates the params argument to add the version param if necessary. There's already clauses in there for Rails 3 and Rails...

I didn't, unfortunately - I ended up working around it to not do it :(

I think the difference between renaming/dropping is big enough to be separate issues. I also admire the developer willing to tackle it as a first issue!

With Ecto you'd do this with [`sort_param` on `cast_assoc`](https://hexdocs.pm/ecto/Ecto.Changeset.html#cast_assoc/3-sorting-and-deleting-from-many-collections), eg. ```elixir # Schema cast_embed(changeset, :addresses, sort_param: :addresses_sort) # Data %{"name" => "john doe", "addresses" => %{ 0 => %{"street" =>...

This seems weird to me - it feels like another way of making a code interface (but not as succinctly and missing most of the benefits of doing so)?