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

fiedl / wingolfsplattform / 1206 / 5
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 26 Nov 2014 01:14AM UTC
Files 42
Run time 21s
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

26 Nov 2014 12:59AM UTC coverage: 42.467% (-0.2%) from 42.617%
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

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

358 of 843 relevant lines covered (42.47%)

3.44 hits per line

Source Files on job 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)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1206
  • Travis Job 1206.5
  • 8f9980eb on github
  • Prev Job for 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 on master (#1205.5)
  • Next Job for 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 on master (#1208.5)
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