Search the web
Sign In
New User? Sign Up
RubyOnRails · Ruby on Rails
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Single Table Inheritance and MySQL   Message List  
Reply | Forward Message #41 of 107 |
Re: Single Table Inheritance and MySQL

Howdy Kaals!

The only experience I have had with uploading photos is using the
"file_column" plugin available here:
http://www.kanthak.net/opensource/file_column/

Further explained here:
http://wiki.rubyonrails.com/rails/pages/HowToUseFileColumn

You may also want to search for the plugin "acts_as_attachment".

-Colman


--- In RubyOnRails@yahoogroups.com, kalpesh patel
<kalpeshpatel12ka4@...> wrote:
>
> Well i appreciate it how you make possible it
>
> i am very new programmer to RoR and need your help
> in uploading the photo using ruby
>
> i have to upload photo in the one site which i can maintain photo
album
> back end is mysql
>
> how could it is possible ? can you tell me i made only one CRUD
application in the ruby using cookbook
>
> my os i am using is Win Xp
>
> and also give some idea about the single table inheritance i don't
know this concept
>
> tanking you
> kaals
>
>
>
> gigi_thom <gigi_thom@...> wrote:
> Hi Everyone,
>
> I've been playing around with RoR, and love it and am implementing a
> project which I want to use the Single Table Inheritance Feature. The
> convention is to use the column name 'type' to indicate the type name,
> however using Firebird or MySQL 5, 'type' is a reserved word and cannot
> be used as a column name.
>
> What is the convention for changing the column name but can still use
> the single inheritance feature?
>
> Would really appreciate it.
>
> Cheers,
> Gigi
>
>
>
>
>
> Send free SMS to your Friends on Mobile from your Yahoo! Messenger.
Download Now! http://messenger.yahoo.com/download.php
>
> [Non-text portions of this message have been removed]
>





Sun Dec 24, 2006 11:14 pm

colmannady
Offline Offline
Send Email Send Email

Forward
Message #41 of 107 |
Expand Messages Author Sort by Date

Hi Everyone, I've been playing around with RoR, and love it and am implementing a project which I want to use the Single Table Inheritance Feature. The ...
gigi_thom
Offline Send Email
Dec 20, 2006
1:07 am

Well i appreciate it how you make possible it i am very new programmer to RoR and need your help in uploading the photo using ruby i have to upload photo in...
kalpesh patel
kalpeshpatel...
Offline Send Email
Dec 22, 2006
5:52 am

Howdy Kaals! The only experience I have had with uploading photos is using the "file_column" plugin available here: ...
colmannady
Offline Send Email
Jan 3, 2007
3:52 am

Howdy Gigi! I found this page from the Rails API which discusses how to create columns with names containing reserved words in Firebird. ...
colmannady
Offline Send Email
Dec 22, 2006
5:54 am

Another Rails developer told me that you can override the name using: inheritance_column()- Defines the column name for use with single table inheritance —...
rick_martin_2001
rick_martin_...
Offline Send Email
Dec 22, 2006
5:56 am

Hi Everyone, Thanks for replying. This has made a huge difference to the design of my application and I really appreciate it. Where I have some advice to give,...
Gigi T
gigi_thom
Offline Send Email
Jan 3, 2007
1:43 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help