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

activeadmin / activeadmin / 5110
79%

Build:
DEFAULT BRANCH: master
Ran 27 Sep 2016 07:17PM UTC
Jobs 5
Files 142
Run time 30min
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
5110

Pull #4633

travis-ci

web-flow
Change the way of assigning template variables

`ActionView::Base#assign` method removes all previous view variable assignments from ActionView::Base `assigns` hash if there are any.

For example:

    template.assigns # => {page_title: "Awesome Title"}
    template.assign(has_many_block: true) # this will clear the `assigns` hash
    template.assigns # => {has_many_block: true}

This commit changes the way of assigning template variables, to avoid previously assigned values loss:

    template.assigns[:has_many_block] = true
Pull Request #4633: Change the way of assigning template variables

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

3198 of 3938 relevant lines covered (81.21%)

44.18 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
lib/active_admin/form_builder.rb
Jobs
ID Job ID Ran Files Coverage
3 5110.3 (2.3.0, RAILS=3.2.22) 27 Sep 2016 07:17PM UTC 0
81.13
Travis Job 5110.3
4 5110.4 (2.3.0, RAILS=4.2.5) 27 Sep 2016 07:20PM UTC 0
81.24
Travis Job 5110.4
5 5110.5 (2.3.0, RAILS=5.0.0) 27 Sep 2016 07:25PM UTC 0
81.24
Travis Job 5110.5
6 5110.6 (jruby-9.0.5.0, RAILS=3.2.22) 27 Sep 2016 07:38PM UTC 0
80.96
Travis Job 5110.6
7 5110.7 (jruby-9.0.5.0, RAILS=4.2.5) 27 Sep 2016 07:47PM UTC 0
80.78
Travis Job 5110.7
Source Files on build 5110
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5110
  • Pull Request #4633
  • PR Base - master (#5099)
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