api_on_rails
api_on_rails copied to clipboard
Learn best practices to build an API using Ruby on Rails 5/6
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.11.4 to 1.13.6. Release notes Sourced from nokogiri's releases. 1.13.6 / 2022-05-08 Security [CRuby] Address CVE-2022-29181, improper handling of unexpected data types, related to untrusted inputs to...
Hi, I've followed your tutorial and the Product test(should sort product by most recent) failed. When I debugged it the Products in fixtures had all same updated_at timestamp, so the...
Bumps [addressable](https://github.com/sporkmonger/addressable) from 2.7.0 to 2.8.0. Changelog Sourced from addressable's changelog. Addressable 2.8.0 fixes ReDoS vulnerability in Addressable::Template#match no longer replaces + with spaces in queries for non-http(s) schemes fixed...
tests passed already, this change in the serializer made actually the tests failed. + `include FastJsonapi::ObjectSerializer` is missing. I think we can remove this section, but I let you double...
In Chapter 6 - section Serialize Products. We use a generator like so: `rails generate serializer Product title price published` This automatically adds the attributes. However, in the text you...
> test 'should sort product by most recent' do > # we will touch some products to update them > products(:two).touch > products(:one) I implemented the test code and code...
There are no chapter headings in the book. It makes it difficult to find where you are in the book. I'm using EPUB but checking PDF it looks missing as...
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.11.4 to 1.14.3. Release notes Sourced from nokogiri's releases. 1.14.3 / 2023-04-11 Security [CRuby] Vendored libxml2 is updated to address CVE-2023-29469, CVE-2023-28484, and one other security-related issue....
I'm going through the book again... :-} In listing 88 you're testing for a sort order but in listing 89 it's a WHERE clause without any ordering. SQL makes no...
Bumps [addressable](https://github.com/sporkmonger/addressable) from 2.7.0 to 2.8.1. Changelog Sourced from addressable's changelog. Addressable 2.8.1 refactor Addressable::URI.normalize_path to address linter offenses (#430) remove redundant colon in Addressable::URI::CharacterClasses::AUTHORITY regex (#438) update gemspec to...