similar to: Undefined method `has_attached_file' with paperclip 2.3.8 gem for Rails 2 using Ruby 1.8.7

Displaying 20 results from an estimated 6000 matches similar to: "Undefined method `has_attached_file' with paperclip 2.3.8 gem for Rails 2 using Ruby 1.8.7"

2011 May 19
0
Unable to find the image path via file system using the paperclip plugin through the get method
Hello all, with great difficulty , I guess I have finally been able to find the appropriate git commit of paperclip which would suit my project''s config which is Ruby 1.8.7 and rails 2.0.2. I am trying to implement a POC before I integrate paperclip in my project. The POC is basically implementing each post with an appropriate image beside it. It seems to pretty much work, its just
2011 May 25
0
Issues implementing jquery-form plugin for displaying image via an ajax call in my rails poc
Hello all, I am trying to implement a POC wherein I can post a message + image and get the same working via AJAX to display them both for each new entry without the page reloading. I am using a config of Ruby 1.8.7 and Rails 2.0.2 for project specific purposes.. I am also using a pretty old paperclip commit from github for this....I had to suit my proj config requirements mentioned previously..
2011 May 20
4
Unable to figure out why a photo attribute of the paperclip plugin is not being passed in as a param
Hello all, I am trying to implement a feature in my app where a user posts a message along with an image. This is something similar to what is there in `www.diasp.org` . I dealing with a pretty much outdated configuration of Rails 2.0.2 and Ruby 1.8.7 , both running on Ubuntu 10.04 OS for project specific purposes. Initially, I found a problem in finding an appropriate plugin for paperclip
2011 Jun 03
0
Rack Middleware support for Rails 2.0.2? If not what is the alternative to implement similar functionality in Rails 2.0.2..
Hello all, I am using Rails 2.0.2 and Ruby 1.8.7 and I need to make use of rack middleware for integrating an ajax file upload plugin(https:// github.com/valums/file-uploader) with paperclip in Rails( As given in this tutorial:- http://mooooooooooo.wordpress.com/2010/12/03/paperclip-valums%E2%80%99s-file-uploader-and-middleware-continued/). I have referred to the rack-middleware Railscast by
2011 May 04
1
is not allowed as an instance variable name error
Hey all, I get error like this: ActionView::TemplateError (`@content_for_details_view_builder__-626960428'' is not allowed as an instance variable name) in app/views/shared/_details_view.haml: searchlogic (2.4.27) lib/searchlogic/rails_helpers.rb:75:in `fields_for'' searchlogic (2.4.27) lib/searchlogic/rails_helpers.rb:64:in `form_for''
2010 Sep 01
1
Faking Paperclip has_attached_file with Factory girl?
Hello! I wonder if it''s possible to simulate Paperclip''s has_attached_file with Factory Girl and then test it with Rspec. I don''t get it to work. My factories.rb file looks like this: Factory.define :user do |user| user.name "Anders" user.email "user-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org" user.password
2013 Apr 30
1
wats this???
Hi all, I DONT KNOW WHAT IS THIS WHEN I RUN SERVER OR CONSOLE ITS COMMING. PLEASE ANYBODY TELME WHATS PROBLEM WHATS SOLLUTION rajesh@rajesh:~/workspace/apl$ ruby script/console Loading development environment (Rails 2.3.2) NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01. Gem.source_index called from
2010 Aug 13
0
Rails 2 and Rails 3 in the same gemset leads to errors
Hi. I am pretty new to ruby (and those gems) and rails.. Until now I thought that all rails application have some kind of integrated version management (RAILS_GEM_VERSION in Rails 2 and gem ''rails'' in Rails 3). And therefore I thought that having Rails 2 and Rails 3 in the same gem repository (in my case gemset under rvm) wouldn''t be a problem. But during installing
2011 Mar 23
0
Implementing auto complete for more than one field in Rails
Hi, I have an app, which implements a group feature. Each group has n members. Also, each group has a group specific profile pic to it. I have been able to implement auto complete for the group feature keeping in mind the group name alone. I have referred to the following tutorial for the same:- http://railsforum.com/viewtopic.php?id=23188 I am using **ruby 1.8.7** and **rails 2.0.2** for
2010 Feb 15
4
Changing the :path and :url options of has_attached_file in paperclip
Hello, I am using the paperclip plugin to upload images and it works absolutely fine. I intend to save my uploaded images to C:\Application_name\public folder. Accordingly, with some study over the i-net, I changed the :path option of has_attached_file to - :path => "C:/Application_name/ public/:class/:attachment/:id/:style_:basename.:extension" Now, the files are being saved to
2012 Aug 08
5
Error Bundler
Any body can help me! i try create a new project, at the end i had message error bundler. root@xxx:/home/xxx# rails new depot_b create create README.rdoc create Rakefile create config.ru create .gitignore create Gemfile create app create app/assets/images/rails.png create app/assets/javascripts/application.js create
2012 Oct 16
5
`method_missing_without_paginate': undefined method `class_attribute' for ActiveRecord::Base:Class
hi i am using radiant 0.8.2 , rails 2.3.4, ruby 1.8.7 and rubygems 1.4.2. and i can''t able to run my existing application. error occurred : run command for server "script/server -e production -p 3001" error: => Booting WEBrick => Rails 2.3.4 application starting on http://0.0.0.0:3001 config.gem: Unpacked gem rack-rewrite-1.2.1 in vendor/gems has no specification
2012 Oct 17
6
NoMethodError (undefined method `service_options' for nil:NilClass)
hi i am using rails 2.3.4 and i am facing "no method error" there is possibility to not find method but my question is - is there possibility to error occurred because of empty table? or error in another controller or helper? error trace: Processing QuoteRequestsController#create (for 127.0.0.1 at 2012-10-17 16:07:34) [POST] Parameters:
2011 Aug 22
6
Trouble with Ruby on Rails
Some background info: I am an OS X user, and my MAC system is OS X 10.6.8(snow leopard). @1st problem (regarding Ruby on Rails installation): I have installed ruby "1.9.2" with RVM. When I typed "ruby -v" command in terminal after installation, it says that the ruby version I have is "1.8.7". Strange, isn''t it? So, I have tried "rvm use 1.9.2"
2012 Sep 18
2
undefined method `to_sym' for nil:NilClass
Hi all, I am trying to upgrade my rails 2 app to 3 and am getting this error when trying to login: NoMethodError in AuthenticateController#authenticate undefined method `to_sym'' for nil:NilClass The stack trace is: activerecord (3.2.2) lib/active_record/validations/uniqueness.rb:26:in `validate_each'' activemodel (3.2.2) lib/active_model/validator.rb:153:in
2011 Feb 10
8
rvm install 1.8.7 prompts "There has been an error while running make. Halting the installation."
I want to work with both Rails 2 and Rails 3 projects. I have RVM installed. When I upgraded to Rails 3, Installed RVM via terminal: bash < <( curl http://rvm.beginrescueend.com/releases/ … ll-latest) version=$(curl http://rvm.beginrescueend.com/releases/ … sion.txt); mkdir -p ~/.rvm/src/ && cd ~/.rvm/src/ && curl -O http://rvm.beginrescueend.com/releases/ … on}.tar.gz |
2012 Dec 28
3
installing ruby 1.9.3 in michael hartl's ruby on rails tutorial
I''m working on Michael Hartl''s ruby on rails tutorial http://ruby.railstutorial.org/ruby-on-rails-tutorial-book#sec-development_tools . I installed Git, updated my OS to 10.8.2 and downloaded XCode 4.5.2. when I type in rvm install 1.9.3 this long thing comes up... Ruby (and needed base gems) for your selection will be installed shortly. Before it happens, please read and
2012 Jun 04
1
bundle install results in "Symbol not found: _SSL_SESSION_free (LoadError)"
Hey everybody I just installed RVM. I never had any issues with my OSX''s default Ruby 1.8.7, but for a project I want to work on I need a newer version, specifically 1.9.3-p0. So I installed it. Sadly, when doing rails new bla I get the following error (right after bundle install is run): /Users/josh/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
2011 Mar 07
1
has_one :dependent => :destroy error (in `configure_dependency_for_has_one': compile error (SyntaxError))
Hi I''m getting the following error : /Users/nikosd/.rvm/rubies/ree-1.8.7-2011.02/bin/ruby -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /Users/nikosd/.rvm/gems/ree-1.8.7-2011.02@.../bin/rake test Testing started at 12:00 PM ... (in /Users/nikosd/Work/.../.../...)
2012 Jun 06
1
why to get the error 'undefined method `write_inheritable_attribute''
I started getting this error message when I attempt to do some rake tasks: $ rails destroy scaffold genotypes /usr/share/rails-ruby1.8/railties/lib/rails_generator/options.rb:32:in `default_options'': undefined method `write_inheritable_attribute'' for Rails::Generator::Base:Class (NoMethodError) from /usr/share/rails-ruby1.8/railties/lib/rails_generator/base.rb:90:in