• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

fiedl / wingolfsplattform / 1206
100%

Build:
DEFAULT BRANCH: master
Ran 26 Nov 2014 01:14AM UTC
Jobs 7
Files 42
Run time 14min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1206

push

travis-ci

fiedl
best_in_place: circumventing display_with issue.

The best_in_place gem, which we use for in-place editing, allows
formatters ("display methods")
that are applied to the values of in-place editing field. For example,
we use a markdown formatter
for certain textareas.

Unfortunately, the formatter definitions are stored in a class variable
by the gem, which is not
shared between the unicorn worker instances of the application.
Therefore, it is not ensured
that all display methods required are being loaded by the worker that
responds to the ajax request
of `respond_with_bip` in the controller.

An initializer circumvents this problem by defining all needed
definitions by hand in order to
ensure that all worker instances have the same definitions.

See also this issue on github:
https://github.com/bernat/best_in_place/issues/321

In order to circumvent this issue, we had to patch two methods of
best_in_place:

* `BestInPlace::BestInPlaceHelpers.best_in_place`
* `BestInPlace::ControllerExtensions.respond_bip_ok`

Trello:
https://trello.com/c/K4Uyw5QN/702-best-in-place-204-no-content-mit-unico
rn

680 of 843 relevant lines covered (80.66%)

82.09 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1206.1 (2.1.2, CI_CATEGORY=w_features RAILS_ENV=test DB=mysql COVERALLS_SILENT=true CI=travis RSPEC_RERUN_RETRY_COUNT=3 RSPEC_RERUN_PATTERN=./spec/features/*_spec.rb) 26 Nov 2014 01:15AM UTC 0
72.6
Travis Job 1206.1
2 1206.2 (2.1.2, CI_CATEGORY=w_models RAILS_ENV=test DB=mysql COVERALLS_SILENT=true CI=travis RSPEC_RERUN_RETRY_COUNT=3 RSPEC_RERUN_PATTERN=./spec/models{/**,}/*_spec.rb) 26 Nov 2014 01:21AM UTC 0
60.97
Travis Job 1206.2
3 1206.3 (2.1.2, CI_CATEGORY=y_features RAILS_ENV=test DB=mysql COVERALLS_SILENT=true CI=travis RSPEC_RERUN_RETRY_COUNT=3 RSPEC_RERUN_PATTERN=./vendor/engines/your_platform/spec/features/*_spec.rb) 26 Nov 2014 01:15AM UTC 0
40.33
Travis Job 1206.3
4 1206.4 (2.1.2, CI_CATEGORY=y_models RAILS_ENV=test DB=mysql COVERALLS_SILENT=true CI=travis RSPEC_RERUN_RETRY_COUNT=3 RSPEC_RERUN_PATTERN=./vendor/engines/your_platform/spec/models/**/*_spec.rb) 26 Nov 2014 01:16AM UTC 0
32.27
Travis Job 1206.4
5 1206.5 (2.1.2, CI_CATEGORY=y_controllers RAILS_ENV=test DB=mysql COVERALLS_SILENT=true CI=travis RSPEC_RERUN_RETRY_COUNT=3 RSPEC_RERUN_PATTERN=./vendor/engines/your_platform/spec/controllers/*_spec.rb) 26 Nov 2014 01:14AM UTC 0
42.47
Travis Job 1206.5
6 1206.6 (2.1.2, CI_CATEGORY=y_helpers RAILS_ENV=test DB=mysql COVERALLS_SILENT=true CI=travis RSPEC_RERUN_RETRY_COUNT=3 RSPEC_RERUN_PATTERN=./vendor/engines/your_platform/spec/helpers/*_spec.rb) 26 Nov 2014 01:22AM UTC 0
31.79
Travis Job 1206.6
7 1206.7 (2.1.2, CI_CATEGORY=y_uploaders RAILS_ENV=test DB=mysql COVERALLS_SILENT=true CI=travis RSPEC_RERUN_RETRY_COUNT=3 RSPEC_RERUN_PATTERN=./vendor/engines/your_platform/spec/uploaders/*_spec.rb) 26 Nov 2014 01:27AM UTC 0
31.91
Travis Job 1206.7
Source Files on build 1206
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1206
  • 8f9980eb on github
  • Prev Build on master (#1205)
  • Next Build on master (#1208)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc