Ruby on Rails Saturday, September 23, 2017

On 23 September 2017 at 01:32, fugee ohu <fugee279@gmail.com> wrote:
>
>
> On Friday, September 22, 2017 at 8:18:52 PM UTC-4, nynhex wrote:
>>
>> The problem is you're not reading directions or doing your own research.
>> Take the advice of everyone who's offered to help you and go through some
>> basic Rails tutorials. Nobody is going to write your app for you.
>>
>>
>> On Sep 22, 2017, at 7:00 PM, fugee ohu <fuge...@gmail.com> wrote:
>>
>> What could the problem be?
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Ruby on Rails: Talk" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to rubyonrails-ta...@googlegroups.com.
>> To post to this group, send email to rubyonra...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/rubyonrails-talk/0329d1af-23e5-4f47-a286-c7556789a6ae%40googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>
> That's not the problem The problem is you're not helping, but replying for
> reasons unexplained

Likely no-one here knows the answer to your problem. We are trying to
help you by pointing to the code so that you can look through it and
work it out for yourself. Once you work out the answer make sure you
post it here so the next person to have similar problems will find it
and understand what is going on.

Colin

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLsUJXKdisqL-ieL7qsEOp7QVEvJR05QogvxRk5LuUVfPQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails

On 22 September 2017 at 22:32, fugee ohu <fugee279@gmail.com> wrote:
>
>
> On Friday, September 22, 2017 at 5:04:51 PM UTC-4, Colin Law wrote:
>>
>> On 22 September 2017 at 21:58, fugee ohu <fuge...@gmail.com> wrote:
>> > ..
>> > So what type of relationships were you imagining I've set up My user
>> > model
>> > acts_as_messageable that's all What are you talking about
>>
>> You said that models were not needed for the tables, if you look at
>> the link I posted you will be able to see the models and the
>> relationships between the them.
>>
>> Colin
>
>
> Those models have no corresponding tables

In that case it is odd that, for example, receipt.rb contains the line
self.table_name = :mailboxer_receipts
which rather suggests there is a corresponding table.

Colin

> but i see conversations have many
> messages and receipts and notifications and those models in turn belong to
> conversations That's nice but it doesn't help me figure out why when i send
> a message to a single recipient where in the tables should I expect to find
> the recipients id then I can try to figure out what happens to messages sent
> that don't show in the receiving users inbox Thanks
>

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLu99Ft1oSG%3D2u-zKdHHoVXxBQCwHj%2BMhwimOZ6OgFtCmA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails

I want to use this to put truncate stuff and put ... If a text string in too long.

I can work out how to do this in thery, with an array of chars and relative widths (for a specific font, in my case Helvitica) but can find details fo the widths anywhare.  Any ideas?


--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/722f7d99-4dd1-4ab3-8aa6-cdfacb7f960c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.