this line of the tutorial could be outdated
has_attached_file :photo, :path =>
":rails_root/public/:class/:attachment/:id/:style_:basename.:extension"
see paperclip's documention to see if is still valid
--
You received this message because you are subscribed to the Google Groups "Ruby
on Ra
I'm learning about Paperclip: Attaching Files in Rails, following this
link
http://jimneath.org/2008/04/17/paperclip-attaching-files-in-rails.html
I place these code to display image on show.html.erb
<%= image_tag @user.photo.url %>
<%= image_tag @user.photo.url(:thumb) %>
On new page, I browse a
Hi, I think you need to rake db:create
Then if still have the error, then look at config/database.yml as it might
point to your login credentials being wrong.
On 13 June 2010 17:17, GFP wrote:
> I am an RoR newb, so bear with me here. I am on an Intel based Mac
> running OS X 10.4.11
>
> I have
On 14 June 2010 01:17, GFP wrote:
> I am an RoR newb, so bear with me here. I am on an Intel based Mac
> running OS X 10.4.11
>
> I have started the 'RoR Essentials' tutorial on lynda.com. I have
> installed (I believe) all the necessary components:
>
> ruby 1.8.7 (2008-05-31 patchlevel 0) [i686-d
I am an RoR newb, so bear with me here. I am on an Intel based Mac
running OS X 10.4.11
I have started the 'RoR Essentials' tutorial on lynda.com. I have
installed (I believe) all the necessary components:
ruby 1.8.7 (2008-05-31 patchlevel 0) [i686-darwin8.11.1]
Rails 2.3.8
gem version 1.3.5
mysq
can anyone help with this???
/!\ FAILSAFE /!\ Thu Apr 08 16:58:27 -0700 2010
Status: 500 Internal Server Error
unknown error
C:/Ruby/lib/ruby/1.8/dl/import.rb:29:in `initialize'
C:/Ruby/lib/ruby/1.8/dl/import.rb:29:in `dlopen'
C:/Ruby/lib/ruby/1.8/dl/import.rb:29:in `dlload'
C
Hi All,
"We're sorry, but something went wrong." is the message I got when I
started up an RoR app in the environment:
Rails 2.3.5
Ruby 1.8.6
WinXP-Pro/SP3
Firefox 3.6
MySQL 5.0.37-community-nt
Mongrel
The app under development was working fine until I (stupidly) thought
I needed to upgrade MySQ
Hi all,
Thankfully, my site is now live. It needs some tweaks, but most
importantly I need to fix the 500 internal server error I seem to be
getting.
We're sorry, but something went wrong(500), We've been notified about
this issue and we'll take a look at it shortly.
When I look at the log, it s
I am using JRuby and I have to deploy on Tomcat. My web app is working
fine in the dev envirmonment, with Mongel, but when I deploy on Tomcat
I get "We're sorry, but something went wrong on Tomcat".
The problem is that production.log only shows:
# Logfile created on Mon Oct 12 12:54:36 +0100 200
Great. I'm in the development environment and that is the error message
I get?! What good does that do me?
I'm trying to follow along with the examples in AWDWR(3rd.), and I have
this method in a store controller:
private
def find_cart
Cart.new
end
That works fine, except that every
10 matches
Mail list logo