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

comfy / comfortable-mexican-sofa / 1259
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: deep-tag-nesting-fix
DEFAULT BRANCH: master
Ran 25 Jan 2019 04:30PM UTC
Jobs 4
Files 107
Run time 26s
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
1259

Pull #871

travis-ci

web-flow
Write label attribute before save using filename

Problem was that when uploading a new file the actual
label would be empty. Model will return a label when
requested as it will read the file name if label is
empty, but when doing in rails helpers something like

Comfy::Cms::File.where(label: "name")

the file will not be found.

This fix will user before_save callback to write
the label attribute on the model using the file name
which will be saved then in DB


Signed-off-by: oscar sanhueza <oscar@hashdot.fi>
Pull Request #871: Write label attribute before save using filename

4 of 4 new or added lines in 1 file covered. (100.0%)

4746 of 4773 relevant lines covered (99.43%)

34.2 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1259.1 (2.3.7, test/gemfiles/5.2.gemfile) 25 Jan 2019 04:30PM UTC 0
99.42
Travis Job 1259.1
2 1259.2 (2.4.4, test/gemfiles/5.2.gemfile) 25 Jan 2019 04:30PM UTC 0
99.42
Travis Job 1259.2
3 1259.3 (2.5.1, test/gemfiles/5.2.gemfile) 25 Jan 2019 04:30PM UTC 0
99.42
Travis Job 1259.3
4 1259.4 (ruby-head, test/gemfiles/5.2.gemfile) 25 Jan 2019 04:30PM UTC 0
99.42
Travis Job 1259.4
Source Files on build 1259
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1259
  • Pull Request #871
  • PR Base - master (#1255)
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