Skip to content

Commit

Permalink
Merge pull request #67 from sandstrom/patch-1
Browse files Browse the repository at this point in the history
Small README touchups
  • Loading branch information
byroot committed May 16, 2023
2 parents 25d85a2 + 5ef3587 commit 122c498
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# FrozenRecord

[![Build Status](https://secure.travis-ci.org/byroot/frozen_record.svg)](http://travis-ci.org/byroot/frozen_record)
[![Gem Version](https://badge.fury.io/rb/frozen_record.svg)](http://badge.fury.io/rb/frozen_record)
[![Build Status](https://secure.travis-ci.org/byroot/frozen_record.svg)](https://travis-ci.org/byroot/frozen_record)
[![Gem Version](https://badge.fury.io/rb/frozen_record.svg)](https://badge.fury.io/rb/frozen_record)

Active Record-like interface for **read only** access to static data files of reasonable size.

Expand Down Expand Up @@ -74,7 +74,6 @@ end

FrozenRecord aim to replicate only modern Active Record querying interface, and only the non "string typed" ones.

e.g
```ruby
# Supported query interfaces
Country.
Expand All @@ -85,7 +84,7 @@ Country.
offset(2).
pluck(:name)

# Non supported query interfaces
# Non-supported query interfaces
Country.
where('region = "Europe" AND language != "English"').
order('id DESC')
Expand Down Expand Up @@ -217,7 +216,7 @@ FrozenRecord::TestHelper.unload_fixtures
Here's a Rails-specific example:

```ruby
require "test_helper"
require 'test_helper'
require 'frozen_record/test_helper'

class CountryTest < ActiveSupport::TestCase
Expand All @@ -230,7 +229,7 @@ class CountryTest < ActiveSupport::TestCase
FrozenRecord::TestHelper.unload_fixtures
end

test "countries have a valid name" do
test 'countries have a valid name' do
# ...
```

Expand Down

0 comments on commit 122c498

Please sign in to comment.