Skip to content

Commit

Permalink
pry-byebug for debugging
Browse files Browse the repository at this point in the history
Issue #19
  • Loading branch information
brenes committed Jun 7, 2016
1 parent 3023b5b commit e32c306
Show file tree
Hide file tree
Showing 27 changed files with 79 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ gemspec

group :development, :test do
gem 'pry-rails'
gem 'pry-byebug'
gem 'pry-nav'
gem 'pry-remote'
gem 'pry-stack_explorer'
Expand Down
5 changes: 5 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ GEM
binding_of_caller (0.7.2)
debug_inspector (>= 0.0.1)
builder (3.2.2)
byebug (9.0.5)
capybara (2.4.4)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
Expand Down Expand Up @@ -112,6 +113,9 @@ GEM
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
pry-byebug (3.4.0)
byebug (~> 9.0)
pry (~> 0.10)
pry-nav (0.2.4)
pry (>= 0.9.10, < 0.11.0)
pry-rails (0.3.4)
Expand Down Expand Up @@ -206,6 +210,7 @@ DEPENDENCIES
faker
generator_spec
nocms-blocks!
pry-byebug
pry-nav
pry-rails
pry-remote
Expand Down
1 change: 1 addition & 0 deletions app/models/no_cms/blocks/concerns/serializing_fields.rb
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ def assign_attributes new_attributes
" in #{self.layout} layout #{is_translation? ? 'translation' : ''}"

# And now separate fields and attributes
debugger
fields = new_attributes.select{|k, _| has_field? k }.symbolize_keys
# Now we filter those fields we must not manage because we are (or
# not) in a translation. I.e: if we have a translated field, but we
Expand Down
1 change: 1 addition & 0 deletions gemfiles/rails_4_0_mysql.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ gem "rails", "4.0.13"

group :development, :test do
gem "pry-rails"
gem "pry-byebug"
gem "pry-nav"
gem "pry-remote"
gem "pry-stack_explorer"
Expand Down
5 changes: 5 additions & 0 deletions gemfiles/rails_4_0_mysql.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ GEM
binding_of_caller (0.7.2)
debug_inspector (>= 0.0.1)
builder (3.1.4)
byebug (9.0.5)
capybara (2.5.0)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
Expand Down Expand Up @@ -97,6 +98,9 @@ GEM
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
pry-byebug (3.4.0)
byebug (~> 9.0)
pry (~> 0.10)
pry-nav (0.2.4)
pry (>= 0.9.10, < 0.11.0)
pry-rails (0.3.4)
Expand Down Expand Up @@ -179,6 +183,7 @@ DEPENDENCIES
generator_spec
mysql2
nocms-blocks!
pry-byebug
pry-nav
pry-rails
pry-remote
Expand Down
1 change: 1 addition & 0 deletions gemfiles/rails_4_0_pgsql.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ gem "rails", "4.0.13"

group :development, :test do
gem "pry-rails"
gem "pry-byebug"
gem "pry-nav"
gem "pry-remote"
gem "pry-stack_explorer"
Expand Down
5 changes: 5 additions & 0 deletions gemfiles/rails_4_0_pgsql.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ GEM
binding_of_caller (0.7.2)
debug_inspector (>= 0.0.1)
builder (3.1.4)
byebug (9.0.5)
capybara (2.5.0)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
Expand Down Expand Up @@ -98,6 +99,9 @@ GEM
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
pry-byebug (3.4.0)
byebug (~> 9.0)
pry (~> 0.10)
pry-nav (0.2.4)
pry (>= 0.9.10, < 0.11.0)
pry-rails (0.3.4)
Expand Down Expand Up @@ -181,6 +185,7 @@ DEPENDENCIES
generator_spec
nocms-blocks!
pg
pry-byebug
pry-nav
pry-rails
pry-remote
Expand Down
1 change: 1 addition & 0 deletions gemfiles/rails_4_0_sqlite.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ gem "rails", "4.0.13"

group :development, :test do
gem "pry-rails"
gem "pry-byebug"
gem "pry-nav"
gem "pry-remote"
gem "pry-stack_explorer"
Expand Down
5 changes: 5 additions & 0 deletions gemfiles/rails_4_0_sqlite.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ GEM
binding_of_caller (0.7.2)
debug_inspector (>= 0.0.1)
builder (3.1.4)
byebug (9.0.5)
capybara (2.5.0)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
Expand Down Expand Up @@ -97,6 +98,9 @@ GEM
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
pry-byebug (3.4.0)
byebug (~> 9.0)
pry (~> 0.10)
pry-nav (0.2.4)
pry (>= 0.9.10, < 0.11.0)
pry-rails (0.3.4)
Expand Down Expand Up @@ -179,6 +183,7 @@ DEPENDENCIES
faker
generator_spec
nocms-blocks!
pry-byebug
pry-nav
pry-rails
pry-remote
Expand Down
1 change: 1 addition & 0 deletions gemfiles/rails_4_1_mysql.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ gem "rails", "4.1.14"

group :development, :test do
gem "pry-rails"
gem "pry-byebug"
gem "pry-nav"
gem "pry-remote"
gem "pry-stack_explorer"
Expand Down
5 changes: 5 additions & 0 deletions gemfiles/rails_4_1_mysql.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ GEM
binding_of_caller (0.7.2)
debug_inspector (>= 0.0.1)
builder (3.2.2)
byebug (9.0.5)
capybara (2.5.0)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
Expand Down Expand Up @@ -99,6 +100,9 @@ GEM
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
pry-byebug (3.4.0)
byebug (~> 9.0)
pry (~> 0.10)
pry-nav (0.2.4)
pry (>= 0.9.10, < 0.11.0)
pry-rails (0.3.4)
Expand Down Expand Up @@ -185,6 +189,7 @@ DEPENDENCIES
generator_spec
mysql2 (~> 0.3.13)
nocms-blocks!
pry-byebug
pry-nav
pry-rails
pry-remote
Expand Down
1 change: 1 addition & 0 deletions gemfiles/rails_4_1_pgsql.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ gem "rails", "4.1.14"

group :development, :test do
gem "pry-rails"
gem "pry-byebug"
gem "pry-nav"
gem "pry-remote"
gem "pry-stack_explorer"
Expand Down
5 changes: 5 additions & 0 deletions gemfiles/rails_4_1_pgsql.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ GEM
binding_of_caller (0.7.2)
debug_inspector (>= 0.0.1)
builder (3.2.2)
byebug (9.0.5)
capybara (2.5.0)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
Expand Down Expand Up @@ -99,6 +100,9 @@ GEM
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
pry-byebug (3.4.0)
byebug (~> 9.0)
pry (~> 0.10)
pry-nav (0.2.4)
pry (>= 0.9.10, < 0.11.0)
pry-rails (0.3.4)
Expand Down Expand Up @@ -185,6 +189,7 @@ DEPENDENCIES
generator_spec
nocms-blocks!
pg
pry-byebug
pry-nav
pry-rails
pry-remote
Expand Down
1 change: 1 addition & 0 deletions gemfiles/rails_4_1_sqlite.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ gem "rails", "4.1.14"

group :development, :test do
gem "pry-rails"
gem "pry-byebug"
gem "pry-nav"
gem "pry-remote"
gem "pry-stack_explorer"
Expand Down
5 changes: 5 additions & 0 deletions gemfiles/rails_4_1_sqlite.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ GEM
binding_of_caller (0.7.2)
debug_inspector (>= 0.0.1)
builder (3.2.2)
byebug (9.0.5)
capybara (2.5.0)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
Expand Down Expand Up @@ -98,6 +99,9 @@ GEM
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
pry-byebug (3.4.0)
byebug (~> 9.0)
pry (~> 0.10)
pry-nav (0.2.4)
pry (>= 0.9.10, < 0.11.0)
pry-rails (0.3.4)
Expand Down Expand Up @@ -183,6 +187,7 @@ DEPENDENCIES
faker
generator_spec
nocms-blocks!
pry-byebug
pry-nav
pry-rails
pry-remote
Expand Down
1 change: 1 addition & 0 deletions gemfiles/rails_4_2_mysql.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ gem "rails", "4.2.5"

group :development, :test do
gem "pry-rails"
gem "pry-byebug"
gem "pry-nav"
gem "pry-remote"
gem "pry-stack_explorer"
Expand Down
5 changes: 5 additions & 0 deletions gemfiles/rails_4_2_mysql.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ GEM
binding_of_caller (0.7.2)
debug_inspector (>= 0.0.1)
builder (3.2.2)
byebug (9.0.5)
capybara (2.5.0)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
Expand Down Expand Up @@ -112,6 +113,9 @@ GEM
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
pry-byebug (3.4.0)
byebug (~> 9.0)
pry (~> 0.10)
pry-nav (0.2.4)
pry (>= 0.9.10, < 0.11.0)
pry-rails (0.3.4)
Expand Down Expand Up @@ -207,6 +211,7 @@ DEPENDENCIES
generator_spec
mysql2
nocms-blocks!
pry-byebug
pry-nav
pry-rails
pry-remote
Expand Down
1 change: 1 addition & 0 deletions gemfiles/rails_4_2_pgsql.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ gem "rails", "4.2.5"

group :development, :test do
gem "pry-rails"
gem "pry-byebug"
gem "pry-nav"
gem "pry-remote"
gem "pry-stack_explorer"
Expand Down
5 changes: 5 additions & 0 deletions gemfiles/rails_4_2_pgsql.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ GEM
binding_of_caller (0.7.2)
debug_inspector (>= 0.0.1)
builder (3.2.2)
byebug (9.0.5)
capybara (2.5.0)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
Expand Down Expand Up @@ -112,6 +113,9 @@ GEM
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
pry-byebug (3.4.0)
byebug (~> 9.0)
pry (~> 0.10)
pry-nav (0.2.4)
pry (>= 0.9.10, < 0.11.0)
pry-rails (0.3.4)
Expand Down Expand Up @@ -207,6 +211,7 @@ DEPENDENCIES
generator_spec
nocms-blocks!
pg
pry-byebug
pry-nav
pry-rails
pry-remote
Expand Down
1 change: 1 addition & 0 deletions gemfiles/rails_4_2_sqlite.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ gem "rails", "4.2.5"

group :development, :test do
gem "pry-rails"
gem "pry-byebug"
gem "pry-nav"
gem "pry-remote"
gem "pry-stack_explorer"
Expand Down
5 changes: 5 additions & 0 deletions gemfiles/rails_4_2_sqlite.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ GEM
binding_of_caller (0.7.2)
debug_inspector (>= 0.0.1)
builder (3.2.2)
byebug (9.0.5)
capybara (2.5.0)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
Expand Down Expand Up @@ -111,6 +112,9 @@ GEM
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
pry-byebug (3.4.0)
byebug (~> 9.0)
pry (~> 0.10)
pry-nav (0.2.4)
pry (>= 0.9.10, < 0.11.0)
pry-rails (0.3.4)
Expand Down Expand Up @@ -205,6 +209,7 @@ DEPENDENCIES
faker
generator_spec
nocms-blocks!
pry-byebug
pry-nav
pry-rails
pry-remote
Expand Down
1 change: 1 addition & 0 deletions gemfiles/rails_5_rc1_mysql.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ gem "activeresource", :github => "rails/activeresource"

group :development, :test do
gem "pry-rails"
gem "pry-byebug"
gem "pry-nav"
gem "pry-remote"
gem "pry-stack_explorer"
Expand Down
5 changes: 5 additions & 0 deletions gemfiles/rails_5_rc1_mysql.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ GEM
binding_of_caller (0.7.2)
debug_inspector (>= 0.0.1)
builder (3.2.2)
byebug (9.0.5)
capybara (2.7.1)
addressable
mime-types (>= 1.16)
Expand Down Expand Up @@ -147,6 +148,9 @@ GEM
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
pry-byebug (3.4.0)
byebug (~> 9.0)
pry (~> 0.10)
pry-nav (0.2.4)
pry (>= 0.9.10, < 0.11.0)
pry-rails (0.3.4)
Expand Down Expand Up @@ -248,6 +252,7 @@ DEPENDENCIES
globalize!
mysql2
nocms-blocks!
pry-byebug
pry-nav
pry-rails
pry-remote
Expand Down
1 change: 1 addition & 0 deletions gemfiles/rails_5_rc1_pgsql.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ gem "activeresource", :github => "rails/activeresource"

group :development, :test do
gem "pry-rails"
gem "pry-byebug"
gem "pry-nav"
gem "pry-remote"
gem "pry-stack_explorer"
Expand Down
Loading

0 comments on commit e32c306

Please sign in to comment.