Ruby on Rails Thursday, December 9, 2010

On 9 December 2010 09:57, Priya Baskar <lists@ruby-forum.com> wrote:
> Dear All,
>
> I have some data in two variables. I can't merge those data into single
> variable.
>
> For example:-
>
> Profile hash contains some 50 key value pair.
> profile["name"]
> profile["image"]
>
> Post hash also contains some 50 key value pair.
> Post["comment"]
> Post["Url"]
>
> I want to display 1st record of profile and 1st record of post in same
> line.

What do you mean by 1st record of profile? Profile is a hash so does
not have records.

Colin

>
> Regards,
> Priya
>
> --
> 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@googlegroups.com.
> 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.
>
>

--
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 this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment