Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

String based terminators deprecation with rails 4.1.0.beta1 #1403

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

String based terminators deprecation with rails 4.1.0.beta1 #1403

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

Comments

@rahul-sekhar
Copy link

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
Copy link
Contributor

I'm seeing this as well.

@jonahbron
Copy link
Contributor

I've submitted a pull-request for this.

#1404

@jyurek
Copy link

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 as completed Jan 2, 2014
kaosf added a commit to kaosf/paperclip-deprecation-warning that referenced this issue Jul 11, 2014
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
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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants