Ash Framework (Pragmatic Bookshelf)
Hot This:
Latest Threads About This Book

Running that command results in:
% mix ash.gen.domain Tunez.Music
Issues:
* lib/tunez/music.ex: Igniter would have produced invalid sy...
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

in Chapter 6. Authorization: What Can You Do? • 138
06/lib/tunez/accounts.ex
base_route"/users", Tunez.Accounts.User do
# ...
➤ post...
New

Tunez is secure, authorization-wise, as it is right now, but there’s no guarantee that it will stay thay way.
New

Ash Framework B4: passing map instead of string in search_artists! (page 85)
Custom Actions with Arguments • 67
Hi! search_artists! a...
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

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

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

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

When starting fresh with the chapter-6 branch (commit hash #bff7f585), the second test in chapter 7 fails with the following error:
1)...
New
Most Active This Week
Most Active This Month

in Chapter 6. Authorization: What Can You Do? • 138
06/lib/tunez/accounts.ex
base_route"/users", Tunez.Accounts.User do
# ...
➤ post...
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

Tunez is secure, authorization-wise, as it is right now, but there’s no guarantee that it will stay thay way.
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
Most Active This Year

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

Explore the power of Ash Framework by modeling and building the domain for a real-world web application.
Rebecca Le @sevenseacat and ...
New

In the “Defining an update action” section
artist = Tunez.Music.get_artist_by_id!("an-artist-id")
should be:
{:ok, artist} = Tunez...
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

The regex on page 48 is hard to read:
~r/(^https:\/\/|\/images\/).+(\.png|\.jpg)$/
It can be improved by changing the delimiters which ...
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

When starting fresh with the chapter-6 branch (commit hash #bff7f585), the second test in chapter 7 fails with the following error:
1)...
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

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

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

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

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

Since the project is using AshPhoenix, adding a simple paragraph about ash_phoenix.gen.live could probably help newcomers to the Ash fram...
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

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
Most Active Last Three Years

On page 72, near the bottom is should be " it supports sorting on
multiple columns, when we only have a single drop"
New

New

Because policies as part of resource definitions, should be “Because policies are part of resource definitions”
New

“intractible” should be “intractable”
New

Ash Framework B4: passing map instead of string in search_artists! (page 85)
Custom Actions with Arguments • 67
Hi! search_artists! a...
New
Most Active Over Three Years
Book Info
Publisher:
Pragmatic Bookshelf
Get money off!

The Pragmatic Bookshelf
35% off any eBook
Simply use coupon code "devtalk.com" at checkout. See full details here.