New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

String based terminators deprecation with rails 4.1.0.beta1 #1403

Closed
rahul-sekhar opened this Issue Dec 20, 2013 · 3 comments

Comments

Projects
None yet
3 participants
@rahul-sekhar

rahul-sekhar commented Dec 20, 2013

On upgrading to rails 4.1.0.beta1, I get:

DEPRECATION WARNING: String based terminators are deprecated, please use a lambda.

for each use of has_attached_file

@jonahbron

This comment has been minimized.

Contributor

jonahbron commented Dec 21, 2013

I'm seeing this as well.

@jonahbron

This comment has been minimized.

Contributor

jonahbron commented Dec 21, 2013

I've submitted a pull-request for this.

#1404

@jyurek

This comment has been minimized.

Contributor

jyurek commented Jan 2, 2014

Further discussion of this should go in @jonahbron's PR, which he linked. Thanks for reporting this.

@jyurek jyurek closed this Jan 2, 2014

kaosf added a commit to kaosf/paperclip-deprecation-warning that referenced this issue Jul 11, 2014

Modify paperclip version from 4.2.0 to 3.5.4
It makes a warning message.

rake #=>
DEPRECATION WARNING: String based terminators are deprecated, please use
a lambda. (called from <class:Item> at
/some/where/app/app/models/item.rb:2)

ref.
  thoughtbot/paperclip#1403
  thoughtbot/paperclip#1404
  http://dev.mensfeld.pl/2014/05/upgrading-to-rails-4-1-from-rails-4-0-ruby-on-rails/

kaosf added a commit to kaosf/paperclip-deprecation-warning that referenced this issue Jul 11, 2014

Modify paperclip version from 4.2.0 to 3.5.4
It makes a warning message.

rake #=>
DEPRECATION WARNING: String based terminators are deprecated, please use
a lambda. (called from <class:Item> at
/some/where/app/app/models/item.rb:2)

ref.
  thoughtbot/paperclip#1403
  thoughtbot/paperclip#1404
  http://dev.mensfeld.pl/2014/05/upgrading-to-rails-4-1-from-rails-4-0-ruby-on-rails/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment