Skip to content
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
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

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

@jonahbron jonahbron commented Dec 21, 2013

I'm seeing this as well.

@jonahbron
Copy link
Contributor

@jonahbron jonahbron commented Dec 21, 2013

I've submitted a pull-request for this.

#1404

@jyurek
Copy link
Contributor

@jyurek 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
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 join this conversation on GitHub. Already have an account? Sign in to comment
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants