Ruby on Rails Friday, August 31, 2012

On 31 August 2012 07:41, Joshua Baldock <lists@ruby-forum.com> wrote:
> I have an existing database that im building a rails app on top of. One
> of my columns 'message' is a long string that I would like to be able to
> query and split into various attributes to then be able to display each
> of those attributes in a view.
>
> I'm trying to implement this into the controller, but don't seem to be
> getting any where.

Which bit are you having trouble with? Accessing the legacy table?
Splitting the string? Displaying it in a view?

--
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment