Displaying 2 results from an estimated 2 matches for "howardrobert".
Did you mean:
howardroberts
2005 Oct 14
0
ImageMagick helper
...9;ve run into a
bit of a problem.
In environment.rb, I placed: require_gem ''actionpack-imagemagick''
I''ve set up my controller as such:
class ProfileController < ApplicationController
# ..SNIP..
class Photo < ApplicationController
imagemagick_for ''/home/howardroberts/documents/pics/''
end
end
Then in views/profile/photo.rhtml I put:
<%= imagemagick_tag ''image1.jpg'', ''resize(100x100)'' %>
This produces the error:
showing /app/views/profile/photo.rhtml where line #1 raised:
undefined method `url_for_imagemagic...
2006 Mar 24
10
innodb vs myisam
Hi,
I have been using myisam tables in mysql with rails because my client will soon want fulltext searchable content, however when I migrated my development db from schema.rb all of the tables generated were innodb. I understand that I can override this, but also like the transactions and foreign keys of innodb. So 2 questions really:
1. are transactions in activerecord dependent on innodb or do