I already asked it in the railsforum.com but it didn''t quite got answered yet so instead of repeating the question heres a link: http://railsforum.com/viewtopic.php?id=40810 feel free answering either here or in the forums. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
explain what you want to achieve becuase what you are doing is confusing. What happens the most to rails beginners is that we over complicate, becuase we are used to complicated stuff in other frameworks and can believe that doing thing a simplified as rails does it would work, it appears this is happening in this case since what i thing you are trying to achieve is so easy if done the right way. On Sat, Sep 11, 2010 at 10:21 AM, TEREN <teren9-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I already asked it in the railsforum.com but it didn''t quite got > answered yet so instead of repeating the question heres a link: > http://railsforum.com/viewtopic.php?id=40810 > feel free answering either here or in the forums. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
I try to make a table in the database where all my texts are in so i could add another column one day for a different language so when I do decide to translate my site to a different site it would be a matter of adding a column to a table. (BTW I intend to put all the data in my site in the database(with no real static content so it seems like the best choice i have) On Sep 11, 8:39 pm, radhames brito <rbri...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> explain what you want to achieve becuase what you are doing is confusing. > > What happens the most to rails beginners is that we over complicate, becuase > we are used to complicated stuff in other frameworks and > can believe that doing thing a simplified as rails does it would work, it > appears this is happening in this case since what i thing you are trying to > achieve is so easy if done the right way. > > On Sat, Sep 11, 2010 at 10:21 AM, TEREN <ter...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > I already asked it in the railsforum.com but it didn''t quite got > > answered yet so instead of repeating the question heres a link: > >http://railsforum.com/viewtopic.php?id=40810 > > feel free answering either here or in the forums. > > > -- > > You received this message because you are subscribed to the Google Groups > > "Ruby on Rails: Talk" group. > > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To unsubscribe from this group, send email to > > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > > . > > For more options, visit this group at > >http://groups.google.com/group/rubyonrails-talk?hl=en.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
TEREN wrote:> I try to make a table in the database where all my texts are in so i > could add another column one day for a different language so when I do > decide to translate my site to a different site it would be a matter > of adding a column to a table. > (BTW I intend to put all the data in my site in the database(with no > real static content so it seems like the best choice i have)I believe what you are really trying to ask here is how to properly add localization to your site. Right now your site is being localized for a specific language and parts of your site inherit text that is stored in a specific localization table for say.. English. Then, at another point in time, you want to be able to add another column for say.. German, etc. Is this what you are trying to accomplish? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
radhames brito
2010-Sep-12 03:08 UTC
Re: Re: help in making a function inherited by all views
if you want a variable db schema go with mongodb , but i dont think thats what you really want, i think is easier to have a polimorphic text table that can belong to the models that contain text and pull depending on the locale. watch a schema less database here http://railscasts.com/episodes/194-mongodb-and-mongomapper On Sat, Sep 11, 2010 at 5:44 PM, Alpha Blue <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> TEREN wrote: > > I try to make a table in the database where all my texts are in so i > > could add another column one day for a different language so when I do > > decide to translate my site to a different site it would be a matter > > of adding a column to a table. > > (BTW I intend to put all the data in my site in the database(with no > > real static content so it seems like the best choice i have) > > I believe what you are really trying to ask here is how to properly add > localization to your site. Right now your site is being localized for a > specific language and parts of your site inherit text that is stored in > a specific localization table for say.. English. Then, at another point > in time, you want to be able to add another column for say.. German, > etc. > > Is this what you are trying to accomplish? > > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Almog Friedman
2010-Sep-12 08:53 UTC
Re: Re: help in making a function inherited by all views
first of all Alpha blue, thats exactly what i want.any ideas on how to do this? and radhames brito, i didnt understand a thing from your comment. could you explain a little more what do you think i need to do? On Sun, Sep 12, 2010 at 5:08 AM, radhames brito <rbritom-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> if you want a variable db schema go with mongodb , but i dont think thats > what you really want, i think is easier to have a polimorphic text table > that can belong to the models that contain text and pull depending on the > locale. > > watch a schema less database here > > http://railscasts.com/episodes/194-mongodb-and-mongomapper > > > On Sat, Sep 11, 2010 at 5:44 PM, Alpha Blue <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: > >> TEREN wrote: >> > I try to make a table in the database where all my texts are in so i >> > could add another column one day for a different language so when I do >> > decide to translate my site to a different site it would be a matter >> > of adding a column to a table. >> > (BTW I intend to put all the data in my site in the database(with no >> > real static content so it seems like the best choice i have) >> >> I believe what you are really trying to ask here is how to properly add >> localization to your site. Right now your site is being localized for a >> specific language and parts of your site inherit text that is stored in >> a specific localization table for say.. English. Then, at another point >> in time, you want to be able to add another column for say.. German, >> etc. >> >> Is this what you are trying to accomplish? >> >> -- >> Posted via http://www.ruby-forum.com/. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ruby on Rails: Talk" group. >> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> >> . >> For more options, visit this group at >> http://groups.google.com/group/rubyonrails-talk?hl=en. >> >> > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Almog Friedman wrote:> first of all > Alpha blue, thats exactly what i want.any ideas on how to do this? > and radhames brito, i didnt understand a thing from your comment. could > you > explain a little more what do you think i need to do?You might want to start here: http://github.com/defunkt/gibberish -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Almog Friedman
2010-Sep-12 18:42 UTC
Re: Re: Re: help in making a function inherited by all views
the problem with that way is that it is intended for an application which receives most of its data as user content and the static content of the page(what i control of) is by the most parts isn''t much. most of it is titles and headlines and maybe some explanations of things. this is not the case with my app. with my app i am the provider of most of the data, the user only interacts with it. im talking about hundreds upon hundreds of lines of content all made by me. i don''t want to edit this entire data by hand, i want to use a database. which is why i got to my method as described in my vary first post. with a simple form with which i could insert the data to the database at ease. now as i ran out of options, could you please help me figure out where should i put this method i did so i would still follow the DRY principle and use MVC correctly? On Sun, Sep 12, 2010 at 3:54 PM, Alpha Blue <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Almog Friedman wrote: > > first of all > > Alpha blue, thats exactly what i want.any ideas on how to do this? > > and radhames brito, i didnt understand a thing from your comment. could > > you > > explain a little more what do you think i need to do? > > You might want to start here: > > http://github.com/defunkt/gibberish > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
radhames brito
2010-Sep-12 19:04 UTC
Re: Re: Re: help in making a function inherited by all views
you said you wanted to add more laguages with time, mongodb lets you at columns to a table on the fly, like this, lets say you have a table called Content with a column for each language but right now you have 2 languages, english and italian with mongodb you just say , content.german = "...", with mongodb and from then on the table has a german field no migrations needed. at this are the columns content id| owner_type| owner_id | english| italian | then one day you say article.content.german = "blah blah" then on the fly from that day on the table turn to this without the need for migrations content id| owner_type| owner_id | english| italian | german| On Sun, Sep 12, 2010 at 2:42 PM, Almog Friedman <teren9-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> the problem with that way is that it is intended for an application which > receives most of its data as user content and the static content of the > page(what i control of) is by the most parts isn''t much. most of it is > titles and headlines and maybe some explanations of things. > > this is not the case with my app. > with my app i am the provider of most of the data, the user only interacts > with it. im talking about hundreds upon hundreds of lines of content all > made by me. i don''t want to edit this entire data by hand, > i want to use a database. which is why i got to my method as described in > my vary first post. with a simple form with which i could insert the data to > the database at ease. > > now as i ran out of options, could you please help me figure out where > should i put this method i did so i would still follow the DRY principle and > use MVC correctly? > > > On Sun, Sep 12, 2010 at 3:54 PM, Alpha Blue <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: > >> Almog Friedman wrote: >> > first of all >> > Alpha blue, thats exactly what i want.any ideas on how to do this? >> > and radhames brito, i didnt understand a thing from your comment. could >> > you >> > explain a little more what do you think i need to do? >> >> You might want to start here: >> >> http://github.com/defunkt/gibberish >> -- >> Posted via http://www.ruby-forum.com/. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ruby on Rails: Talk" group. >> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> >> . >> For more options, visit this group at >> http://groups.google.com/group/rubyonrails-talk?hl=en. >> >> > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Almog Friedman
2010-Sep-12 21:15 UTC
Re: Re: Re: help in making a function inherited by all views
thats all nice and well but my problem basically is how to put the data in the content table(with forms initially intended for the "owner" tables) the function i mentioned in the link is the function that deals with that problem. the only problem is that i don''t have the "right" place to put it. the best place i could think of is in a class that inherits ActiveRecord and that all the models inherit it. is there a better place? On Sun, Sep 12, 2010 at 9:04 PM, radhames brito <rbritom-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> you said you wanted to add more laguages with time, mongodb lets you at > columns to a table on the fly, like this, > > lets say you have a table called Content with a column for each language > but right now you have 2 languages, english and italian > with mongodb you just say , content.german = "...", with mongodb and from > then on the table has a german field no migrations needed. > > > at this are the columns > > content > id| owner_type| owner_id | english| italian | > > then one day you say > > > article.content.german = "blah blah" > > then on the fly from that day on the table turn to this without the need > for migrations > > content > id| owner_type| owner_id | english| italian | german| > > > > On Sun, Sep 12, 2010 at 2:42 PM, Almog Friedman <teren9-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> the problem with that way is that it is intended for an application which >> receives most of its data as user content and the static content of the >> page(what i control of) is by the most parts isn''t much. most of it is >> titles and headlines and maybe some explanations of things. >> >> this is not the case with my app. >> with my app i am the provider of most of the data, the user only interacts >> with it. im talking about hundreds upon hundreds of lines of content all >> made by me. i don''t want to edit this entire data by hand, >> i want to use a database. which is why i got to my method as described in >> my vary first post. with a simple form with which i could insert the data to >> the database at ease. >> >> now as i ran out of options, could you please help me figure out where >> should i put this method i did so i would still follow the DRY principle and >> use MVC correctly? >> >> >> On Sun, Sep 12, 2010 at 3:54 PM, Alpha Blue <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: >> >>> Almog Friedman wrote: >>> > first of all >>> > Alpha blue, thats exactly what i want.any ideas on how to do this? >>> > and radhames brito, i didnt understand a thing from your comment. could >>> > you >>> > explain a little more what do you think i need to do? >>> >>> You might want to start here: >>> >>> http://github.com/defunkt/gibberish >>> -- >>> Posted via http://www.ruby-forum.com/. >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Ruby on Rails: Talk" group. >>> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>> To unsubscribe from this group, send email to >>> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> >>> . >>> For more options, visit this group at >>> http://groups.google.com/group/rubyonrails-talk?hl=en. >>> >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ruby on Rails: Talk" group. >> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> >> . >> For more options, visit this group at >> http://groups.google.com/group/rubyonrails-talk?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
radhames brito
2010-Sep-13 01:44 UTC
Re: Re: Re: help in making a function inherited by all views
"my problem basically is how to put the data in the content table(with forms initially intended for the "owner" tables)" with AR saves automatically to child associations accepts_nested_attributes_for :content and that way you have a form for the parent and it will also save the associated child on the fly. http://railscasts.com/episodes/196-nested-model-form-part-1 http://railscasts.com/episodes/196-nested-model-form-part-2 On Sun, Sep 12, 2010 at 5:15 PM, Almog Friedman <teren9-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> thats all nice and well but my problem basically is how to put the data in > the content table(with forms initially intended for the "owner" tables) > > the function i mentioned in the link is the function that deals with that > problem. the only problem is that i don''t have the "right" place to put it. > the best place i could think of is in a class that inherits ActiveRecord > and that all the models inherit it. > > is there a better place? > > On Sun, Sep 12, 2010 at 9:04 PM, radhames brito <rbritom-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> you said you wanted to add more laguages with time, mongodb lets you at >> columns to a table on the fly, like this, >> >> lets say you have a table called Content with a column for each language >> but right now you have 2 languages, english and italian >> with mongodb you just say , content.german = "...", with mongodb and from >> then on the table has a german field no migrations needed. >> >> >> at this are the columns >> >> content >> id| owner_type| owner_id | english| italian | >> >> then one day you say >> >> >> article.content.german = "blah blah" >> >> then on the fly from that day on the table turn to this without the need >> for migrations >> >> content >> id| owner_type| owner_id | english| italian | german| >> >> >> >> On Sun, Sep 12, 2010 at 2:42 PM, Almog Friedman <teren9-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> >>> the problem with that way is that it is intended for an application which >>> receives most of its data as user content and the static content of the >>> page(what i control of) is by the most parts isn''t much. most of it is >>> titles and headlines and maybe some explanations of things. >>> >>> this is not the case with my app. >>> with my app i am the provider of most of the data, the user only >>> interacts with it. im talking about hundreds upon hundreds of lines of >>> content all made by me. i don''t want to edit this entire data by hand, >>> i want to use a database. which is why i got to my method as described in >>> my vary first post. with a simple form with which i could insert the data to >>> the database at ease. >>> >>> now as i ran out of options, could you please help me figure out where >>> should i put this method i did so i would still follow the DRY principle and >>> use MVC correctly? >>> >>> >>> On Sun, Sep 12, 2010 at 3:54 PM, Alpha Blue <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>wrote: >>> >>>> Almog Friedman wrote: >>>> > first of all >>>> > Alpha blue, thats exactly what i want.any ideas on how to do this? >>>> > and radhames brito, i didnt understand a thing from your comment. >>>> could >>>> > you >>>> > explain a little more what do you think i need to do? >>>> >>>> You might want to start here: >>>> >>>> http://github.com/defunkt/gibberish >>>> -- >>>> Posted via http://www.ruby-forum.com/. >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Ruby on Rails: Talk" group. >>>> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>> To unsubscribe from this group, send email to >>>> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> >>>> . >>>> For more options, visit this group at >>>> http://groups.google.com/group/rubyonrails-talk?hl=en. >>>> >>>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Ruby on Rails: Talk" group. >>> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>> To unsubscribe from this group, send email to >>> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> >>> . >>> For more options, visit this group at >>> http://groups.google.com/group/rubyonrails-talk?hl=en. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ruby on Rails: Talk" group. >> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> >> . >> For more options, visit this group at >> http://groups.google.com/group/rubyonrails-talk?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.