Skip to content

Instantly share code, notes, and snippets.

@linojon
Created October 8, 2009 16:49
Show Gist options
  • Save linojon/205151 to your computer and use it in GitHub Desktop.
Save linojon/205151 to your computer and use it in GitHub Desktop.
LocalJumpError in Subscriptions#credit_card
Showing app/views/subscriptions/credit_card.html.erb where line #25 raised:
no block given
Extracted source (around line #25):
23: <%= label_content 'Card expires on:' %>
24: <div class="form-input-group">
25: <%= f.select :month, 1.upto(12).to_a.map { |i| "%02d" % i }
26: -%>
27: <%= f.select :year, Date.today.year.upto(Date.today.year+10).to_a
28: -%>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment