Ash Framework (Pragmatic Bookshelf)
Latest Threads About This Book
Another in my series on the Ash Framework. Understanding actions from a functional programming perspective.
New
Yet another in my series on the Ash Framework.
New
Adding to my series on the Ash Framework book.
elixirlang
New
Adding to my series on the Ash Framework book.
New
It seems that the dependencies versions are outdated.
Quick fix (for newbies like me):
change mix.exs with the last working version:...
New
Back from vacation and I thought I’d add to my series on the Ash Framework book.
New
Next in my series on the Ash Framework book. What makes Ash different?
New
I learn best by writing, so I wrote up some higher-level notes on Ash from the Ash Framework book. I thought others might find it useful:...
New
Chapter 9, section “Following a New Artist” is first instructing to add a new domain function follow_artist to Tunez.Music. But this func...
New
This commit:
https://github.com/timpritlove/tunez/commit/811b01c605ea7e64e162e93a4b76088d84d131b4
adds the :stream strategy which someh...
New
After running
mix igniter.install ash_authentication_phonix
the book states: „Before we can test it out, there’s one manual change we n...
New
The last section in chapter 3 about aggregates mentions “„Aggregates perform some kind of calculation on records in a relationship“. Howe...
New
I was comparing the tables of contents I see in B7.0 and what is on the website. The website is out of date.
New
During your build process, you can trun the task […]
Should be run.
New
Title: Ash Framework
Typo: page 123 (from pdf), last paragraph of the page, first sentence
Currently (note bolded word):
Because poli...
New
Hi,
Thanks for this great book!
Not sure if I missed something, if it’s even worth mentioning, or if this was even an intentional side ...
New
Title: Ash Framework (page 19)
In this code example:
Tunez.Music.can_run_complicated_action?(@current_user, run_queries?: false, maybe_...
New
For example the following test:
test "stores the actor that updated the record" do
actor = generate(user(role: :admin))
...
New
The final section on policies states that
We can’t combine built-in policy checks, so we’ll have to fall back to writing
an expression...
New
Just before finishing this page’s section there’s a sentence that reads:
We can now update how we call form_to_create_action, specifyin...
New
Just finished the whole burrito, and it was delicious. 0ne suggestion is to eschew the use of function captures. Your audience probably i...
New
clicking the star to unfollow an artist doesn’t have the JS.transtion(“animate-spin”) thingy, which seems unintentional :slight_smile:
l...
New
Users going through the book on safari, at least, get a bunch of annoying errors about favicon missing on each page load:
[debug] ** (Ph...
New
Maybe “repetition” or “duplication” would be better
New
Code samples generally use atoms for the role value:
policy action(:destroy) do
authorize_if actor_attribute_equals(:role, :admin)
e...
New
“Now if you click any of the buttons that link to pages focussed on forms,”
focussed → focused
New
Running through the example, clicking on an already-used magic link email brings me to the magic link “sign in” page, clicking the magic ...
New
Adding an authentication strategy, after successfully adding ash_authentication (and successfully recompiling picosat), the generator see...
New
On p137 (version B6), under the section Cutting out repetitiveness with bypasses, it says
policy action(:force_update) do
authorize_...
New
Typo in number of chapters inside the phrase This book is divided into nine chapters on page xxii.
New
Most Active This Week
Another in my series on the Ash Framework. Understanding actions from a functional programming perspective.
New
Most Active This Month
Adding to my series on the Ash Framework book.
New
Adding to my series on the Ash Framework book.
elixirlang
New
Yet another in my series on the Ash Framework.
New
It seems that the dependencies versions are outdated.
Quick fix (for newbies like me):
change mix.exs with the last working version:...
New
Most Active This Year
Explore the power of Ash Framework by modeling and building the domain for a real-world web application.
Rebecca Le @sevenseacat and ...
New
Ask Me Anything with
Zach Daniel and Rebecca Le
@zachdaniel and @sevenseacat
On February 24 and 25, we are giving you a chance to ask...
New
I learn best by writing, so I wrote up some higher-level notes on Ash from the Ash Framework book. I thought others might find it useful:...
New
I created my own tunez app from scratch using mix new tunes_hg
I successfully followed the book creating the ash_resource ‘artist’.
I c...
New
In the “Defining an update action” section
artist = Tunez.Music.get_artist_by_id!("an-artist-id")
should be:
{:ok, artist} = Tunez...
New
The regex on page 48 is hard to read:
~r/(^https:\/\/|\/images\/).+(\.png|\.jpg)$/
It can be improved by changing the delimiters which ...
New
Next in my series on the Ash Framework book. What makes Ash different?
New
Hi Rebecca. Thanks for your quick reply.
I cloned the starter app.
But I think it doesn’t include the blank project?
I wanted to start...
New
in Chapter 6. Authorization: What Can You Do? • 138
06/lib/tunez/accounts.ex
base_route"/users", Tunez.Accounts.User do
# ...
➤ post...
New
When starting fresh with the chapter-6 branch (commit hash #bff7f585), the second test in chapter 7 fails with the following error:
1)...
New
Title: Ash Framework B5: subheading typo (page 96)
In the book:
Adding informative descriptiont ← this
Some of the defaults in the g...
New
Hello!
I’m neither an Elixir nor Phoenix or Ash expert, but I believe I found misinformation in the A brief detour into LiveView process...
New
In the introduction, 2nd Paragraph first sentence:
... one resources does not a full application make
New
There is a mention on page 199 that support for atomic updates will be improved in the future. Could there be a link to the github issue ...
New
Back from vacation and I thought I’d add to my series on the Ash Framework book.
New
Most Active Last Three Years
Dear Jessica.
I am reading the new Chapter 8 now.
On page 200 we create a Test Album with 3 Tracks via iex.
Then the editing of the Tr...
New
When starting Chapter 7 (All About Testing), there is an aside that says:
There’s no code for you to write in this chapter — Tunez come...
New
I’ve worked through the book and it starts to click in my head. What’s missing for me are examples how to fallback to some lower level st...
New
On page 72, near the bottom is should be " it supports sorting on
multiple columns, when we only have a single drop"
New
Write naive tests for your policies that test as many combinations of per-
missions as possible, to verify that the behaviour is what yo...
New
Running through the example, clicking on an already-used magic link email brings me to the magic link “sign in” page, clicking the magic ...
New
Since the project is using AshPhoenix, adding a simple paragraph about ash_phoenix.gen.live could probably help newcomers to the Ash fram...
New
Title: Ash Framework: Incorrect return of {:ok, …} for bang (!) function (page 20)
In the section Defining a destroy action:
iex(3)>...
New
The ash_phoenix.gen.live generator should be mentioned somewhere in the book because while it is not needed in any of the example given t...
New
We do need some way of changing an user’s role though, otherwise Tunez will never have any editors or admins!
I expected ‘a user’s role...
New
Running that command results in:
% mix ash.gen.domain Tunez.Music
Issues:
* lib/tunez/music.ex: Igniter would have produced invalid sy...
New
On page 15 there we load a seed file with fake bands names and info. One of them is in French and the name is not grammatically correct, ...
New
Page 113 has the text “we can’t trust everyone in it to have free reign”.
This is a famous eggcorn, the correct expression is free rein....
New
Ash Framework B4: passing map instead of string in search_artists! (page 85)
Custom Actions with Arguments • 67
Hi! search_artists! a...
New
“intractible” should be “intractable”
New
Most Active Over Three Years
Because policies as part of resource definitions, should be “Because policies are part of resource definitions”
New
New
Tunez is secure, authorization-wise, as it is right now, but there’s no guarantee that it will stay thay way.
New
Typo in number of chapters inside the phrase This book is divided into nine chapters on page xxii.
New
The final section on policies states that
We can’t combine built-in policy checks, so we’ll have to fall back to writing
an expression...
New
For example the following test:
test "stores the actor that updated the record" do
actor = generate(user(role: :admin))
...
New
On p137 (version B6), under the section Cutting out repetitiveness with bypasses, it says
policy action(:force_update) do
authorize_...
New
Just before finishing this page’s section there’s a sentence that reads:
We can now update how we call form_to_create_action, specifyin...
New
Users going through the book on safari, at least, get a bunch of annoying errors about favicon missing on each page load:
[debug] ** (Ph...
New
Just finished the whole burrito, and it was delicious. 0ne suggestion is to eschew the use of function captures. Your audience probably i...
New
After running
mix igniter.install ash_authentication_phonix
the book states: „Before we can test it out, there’s one manual change we n...
New
Title: Ash Framework (page 19)
In this code example:
Tunez.Music.can_run_complicated_action?(@current_user, run_queries?: false, maybe_...
New
Maybe “repetition” or “duplication” would be better
New
clicking the star to unfollow an artist doesn’t have the JS.transtion(“animate-spin”) thingy, which seems unintentional :slight_smile:
l...
New
The last section in chapter 3 about aggregates mentions “„Aggregates perform some kind of calculation on records in a relationship“. Howe...
New
Publisher:
Pragmatic Bookshelf
Latest in Ash Framework
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Use the coupon code "devtalk.com" to get 35% off any eBook published by PragProg!







