Skip to content

Commit 83f11ac

Browse files
committed
Add Gemfile dependencies to ActiveRecord and sqlite3.
1 parent b175b04 commit 83f11ac

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Gemfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,11 @@ else
2525
gem 'actionpack', gem_version
2626
end
2727

28+
group :test do
29+
gem 'activerecord'
30+
gem 'sqlite3', platform: :ruby
31+
gem 'activerecord-jdbcsqlite3-adapter', platform: :jruby
32+
end
33+
2834
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
2935
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]

test/fixtures/active_record.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ class Author < ActiveRecord::Base
3737

3838
class PostSerializer < ActiveModel::Serializer
3939
attributes :id, :title, :body
40-
params :title, :body
4140

4241
has_many :comments
4342
belongs_to :author

0 commit comments

Comments
 (0)