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

fiedl / wingolfsplattform / 1207
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: production
DEFAULT BRANCH: master
Ran 26 Nov 2014 01:30AM UTC
Jobs 7
Files 42
Run time 190min
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
1207

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.14 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1207.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:30AM UTC 0
72.6
Travis Job 1207.1
2 1207.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:43AM UTC 0
60.97
Travis Job 1207.2
3 1207.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:34AM UTC 0
40.33
Travis Job 1207.3
4 1207.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 04:40AM UTC 0
32.98
Travis Job 1207.4
5 1207.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:39AM UTC 0
42.47
Travis Job 1207.5
6 1207.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:43AM UTC 0
31.79
Travis Job 1207.6
7 1207.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:43AM UTC 0
31.91
Travis Job 1207.7
Source Files on build 1207
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1207
  • 8f9980eb on github
  • Prev Build on production (#1205)
  • Next Build on production (#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