Ash Framework (Pragmatic Bookshelf)

Latest Threads About This Book Top

bobek
For example the following test: test "stores the actor that updated the record" do actor = generate(user(role: :admin)) ...
New
bobek
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
chouzar
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
mlooney
Just finished the whole burrito, and it was delicious. 0ne suggestion is to eschew the use of function captures. Your audience probably i...
New
mlooney
clicking the star to unfollow an artist doesn’t have the JS.transtion(“animate-spin”) thingy, which seems unintentional :slight_smile: l...
New
mlooney
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
New
mlooney
Code samples generally use atoms for the role value: policy action(:destroy) do authorize_if actor_attribute_equals(:role, :admin) e...
New
mlooney
“Now if you click any of the buttons that link to pages focussed on forms,” focussed → focused
New
mlooney
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
mlooney
Adding an authentication strategy, after successfully adding ash_authentication (and successfully recompiling picosat), the generator see...
New
Bleep9279
On p137 (version B6), under the section Cutting out repetitiveness with bypasses, it says policy action(:force_update) do authorize_...
New
New
lmendelowski
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
donpinkster
In the introduction, 2nd Paragraph first sentence: ... one resources does not a full application make
New
jaeyson
Title: Ash Framework B5: subheading typo (page 96) In the book: Adding informative descriptiont ← this Some of the defaults in the g...
New
anirudh24seven
Title: Ash Framework: Incorrect return of {:ok, …} for bang (!) function (page 20) In the section Defining a destroy action: iex(3)&gt...
New
szymon-jez
Running that command results in: % mix ash.gen.domain Tunez.Music Issues: * lib/tunez/music.ex: Igniter would have produced invalid sy...
New
jaeyson
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
jaeyson
in Chapter 6. Authorization: What Can You Do? • 138 06/lib/tunez/accounts.ex base_route"/users", Tunez.Accounts.User do # ... ➤ post...
New
swrenn
Tunez is secure, authorization-wise, as it is right now, but there’s no guarantee that it will stay thay way.
New
jaeyson
Ash Framework B4: passing map instead of string in search_artists! (page 85) Custom Actions with Arguments • 67 Hi! search_artists! a...
New
swrenn
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
Margaret
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
Chrichton
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
daniel-gagnon
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
arcanemachine
When starting fresh with the chapter-6 branch (commit hash #bff7f585), the second test in chapter 7 fails with the following error: 1)...
New
arcanemachine
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
daniel-gagnon
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
mattvanhorn
In the “Defining an update action” section artist = Tunez.Music.get_artist_by_id!(​"​​an-artist-id"​) should be: {:ok, artist} = Tunez...
New

Most Active This Week Top

Most Active This Month Top

daniel-gagnon
The regex on page 48 is hard to read: ~r/(^https:\/\/|\/images\/).+(\.png|\.jpg)$/ It can be improved by changing the delimiters which ...
New
mlooney
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
New
bobek
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
Bleep9279
On p137 (version B6), under the section Cutting out repetitiveness with bypasses, it says policy action(:force_update) do authorize_...
New
mlooney
Just finished the whole burrito, and it was delicious. 0ne suggestion is to eschew the use of function captures. Your audience probably i...
New
mlooney
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
chouzar
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
bobek
For example the following test: test "stores the actor that updated the record" do actor = generate(user(role: :admin)) ...
New
mlooney
clicking the star to unfollow an artist doesn’t have the JS.transtion(“animate-spin”) thingy, which seems unintentional :slight_smile: l...
New
New
mlooney
Adding an authentication strategy, after successfully adding ash_authentication (and successfully recompiling picosat), the generator see...
New
mlooney
Code samples generally use atoms for the role value: policy action(:destroy) do authorize_if actor_attribute_equals(:role, :admin) e...
New
mlooney
“Now if you click any of the buttons that link to pages focussed on forms,” focussed → focused
New

Most Active This Year Top

PragmaticBookshelf
Explore the power of Ash Framework by modeling and building the domain for a real-world web application. Rebecca Le @sevenseacat and ...
New
Margaret
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
Chrichton
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
mattvanhorn
In the “Defining an update action” section artist = Tunez.Music.get_artist_by_id!(​"​​an-artist-id"​) should be: {:ok, artist} = Tunez...
New
jaeyson
in Chapter 6. Authorization: What Can You Do? • 138 06/lib/tunez/accounts.ex base_route"/users", Tunez.Accounts.User do # ... ➤ post...
New
jaeyson
Title: Ash Framework B5: subheading typo (page 96) In the book: Adding informative descriptiont ← this Some of the defaults in the g...
New
lmendelowski
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
Chrichton
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
donpinkster
In the introduction, 2nd Paragraph first sentence: ... one resources does not a full application make
New
arcanemachine
When starting fresh with the chapter-6 branch (commit hash #bff7f585), the second test in chapter 7 fails with the following error: 1)...
New
Chrichton
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
arcanemachine
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
daniel-gagnon
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
justinbkay
On page 72, near the bottom is should be " it supports sorting on multiple columns, when we only have a single drop"
New
jaeyson
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

Most Active Last Three Years Top

pcharbon70
Since the project is using AshPhoenix, adding a simple paragraph about ash_phoenix.gen.live could probably help newcomers to the Ash fram...
New
dkuku
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
daniel-gagnon
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
daniel-gagnon
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
daniel-gagnon
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
anirudh24seven
Title: Ash Framework: Incorrect return of {:ok, …} for bang (!) function (page 20) In the section Defining a destroy action: iex(3)&gt...
New
swrenn
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
jaeyson
Ash Framework B4: passing map instead of string in search_artists! (page 85) Custom Actions with Arguments • 67 Hi! search_artists! a...
New
szymon-jez
Running that command results in: % mix ash.gen.domain Tunez.Music Issues: * lib/tunez/music.ex: Igniter would have produced invalid sy...
New
New
New
justinbkay
Because policies as part of resource definitions, should be “Because policies are part of resource definitions”
New
swrenn
Tunez is secure, authorization-wise, as it is right now, but there’s no guarantee that it will stay thay way.
New

Most Active Over Three Years Top

Latest in Ash Framework

View all Ash Framework threads ❯

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!

Related Portals