Searchlight helps you build searches from options via Ruby methods that you write.
*CURRENTLY UNMAINTAINED*. Authority helps you authorize actions in your Rails app. It's ORM-neutral and has very little fancy syntax; just group your models under one or more Authorizer classes and write plain Ruby methods on them.
A small collection of Ruby caches with good performance and hash-like access patterns
Mendel breeds the best combinations of N lists without building all possible combinations.
I was confused by some code which set a struct as a payload until I recalled that payloads get serialized this way and saw that the struct implemented the required protocol. I think this makes the expectation clearer.
Apply suggestions from code review
Co-authored-by: José Valim jose.valim@gmail.com
@wojtekmach pointed this out on https://github.com/elixir-lang/elixir/pull/12483
I'm not sure that this change is the correct syntax, but it seems wasteful for CI to run on changes to markdown files, as it did on https://github.com/elixir-lang/elixir/pull/12482
Examples by Myron Marston and Michał Muskała in https://elixirforum.com/t/typespecs-best-way-to-spec-keyword-lists/2991
I'm not sure if this belongs on this issue, but it's related to Slipstream's data serialization.
Channel
supports binary data: def handle_in("file_chunk", {:binary, chunk}, socket) do
.
This is used in the JS upload client to send a chunk of a file at a time.
As far as I can tell, Slipstream requires any payload to be a JSON-encodable map, so binary data has to be string encoded (eg Base.encode64/1
), which increases its size.
Use new tailwind plugin approach for hero icons (#5319)
Co-authored-by: José Valim jose.valim@dashbit.co
Fix guide typos (#5314)
From output of Phoenix generator above correct namespace seems to be HelloWeb, and not LinksWeb
Updated folder structure for templates (#5313)
Edited app.html.heex path with the new template folder: lib/hello_web/components/layouts/app.html.heex
Fix token typespec for socket like struct (#5312)
Add false to put_layout for now, closes #5309
Use tags instead of branch on home screen, closes #5307
Allow a suffix on use :formats
Improved the code consistency of the login_live_test.exs template (#5317)
Include {:error, reason}
in c:Phoenix.Socket.Transport.connect/1
(#5316)
fix phx.digest.clean
only cleaning .gz
compressed versions (#5318)
fix warning for string keys on form (#5310)
warning: a map with atom keys was given to a form. Maps are always considered parameters and therefore must have string keys, got: %{email: nil} (phoenix_html 3.3.1) lib/phoenix_html/form_data.ex:83: Phoenix.HTML.FormData.Map.name_params_and_opts/2 (phoenix_html 3.3.1) lib/phoenix_html/form_data.ex:53: Phoenix.HTML.FormData.Map.to_form/2
Fix possible typo (#5298)
Document :live_view in Endpoint, closes #5303
Fix syntax error
Add form_component to phx.gen.html
Add inspect to format
Improve error message
Rename form
Ensure all compressors are compiled
Fix mix phx.digest
Minor grammar fix (#5366)
Update routing.md (#5361)
LayoutView to Layouts.
update PageController index action to home in Controllers Guide (#5338)
update PageController index action to home
addresses great feedback from @phoebe100
Adding info log if they have http/https set but not server: true set (#5362)
Co-authored-by: José Valim jose.valim@dashbit.co
Add guide: Writing a Channels Client
Use new tailwind plugin approach for hero icons (#5319)
Co-authored-by: José Valim jose.valim@dashbit.co
Fix guide typos (#5314)
From output of Phoenix generator above correct namespace seems to be HelloWeb, and not LinksWeb
Updated folder structure for templates (#5313)
Edited app.html.heex path with the new template folder: lib/hello_web/components/layouts/app.html.heex
Fix token typespec for socket like struct (#5312)
Add false to put_layout for now, closes #5309
Use tags instead of branch on home screen, closes #5307
Allow a suffix on use :formats
Improved the code consistency of the login_live_test.exs template (#5317)
Include {:error, reason}
in c:Phoenix.Socket.Transport.connect/1
(#5316)
fix phx.digest.clean
only cleaning .gz
compressed versions (#5318)
fix warning for string keys on form (#5310)
warning: a map with atom keys was given to a form. Maps are always considered parameters and therefore must have string keys, got: %{email: nil} (phoenix_html 3.3.1) lib/phoenix_html/form_data.ex:83: Phoenix.HTML.FormData.Map.name_params_and_opts/2 (phoenix_html 3.3.1) lib/phoenix_html/form_data.ex:53: Phoenix.HTML.FormData.Map.to_form/2
Fix possible typo (#5298)
Document :live_view in Endpoint, closes #5303
Fix syntax error
Add form_component to phx.gen.html
Add inspect to format
Improve error message
Rename form
Ensure all compressors are compiled
Fix mix phx.digest
I'm getting test failures like test phx.gen.auth + argon2 has no compilation or formatter warnings (--no-live) (Phoenix.Integration.CodeGeneration.AppWithMySqlAdapterTest)
. Any guidance on how to run the generator myself from this repo and examine the output?
Rerun CI