search for: big_thumb

Displaying 2 results from an estimated 2 matches for "big_thumb".

2008 Feb 11
1
image_tag is it just plain Broken?
...ew::TemplateError (undefined method `image_tag'' for #<Gallery: 0xb7083be4>) on line #23 of app/views/users/index.rhtml This is my definition of link_to def link_to unless self.thumbnail_id == 0 picture = Picture.find(self.thumbnail_id) path = picture.public_filename(:big_thumb) return "#{path}" else return "" end end Any idea about that error? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group,...
2006 Jan 01
11
Migration db_schema_import always fails.
I have not been able to get DB migrations to work at all in Rails 1.0 for me. On multiple platforms I continually get the same errors. It took me awhile to figure out some initial things, such as Migrations don''t seem to support Enum column types, and doesn''t really support Foreign key relationships (the constraints at least). After changing my DB schema to jive more with the