Ruby on Rails Friday, November 28, 2014

You are right.

Next time I wil do this sorts of things when I have more time.

Roelof


Op vrijdag 28 november 2014 15:06:32 UTC+1 schreef Colin Law:
On 28 November 2014 at 14:00, Roelof Wobben <rwo...@hotmail.com> wrote:
> IM at chapter 2 exercises and then he asked if you can try this :
>
> class User < ActiveRecord::Base
>
>    has_many :microposts
>
>    validates FILL_IN, presence: true
>    validates FILL_IN, presence: true
>
> end
>
> but as soon as I do rails s I see this error messages :

I have not looked, but is it possible that you are supposed to fill
that bit yourself?

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/a7e93ecf-1519-4dac-bffb-469af136425a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails

4 - ok
3.2 - not ok

thx again


On Fri, Nov 28, 2014 at 5:52 AM, Frederick Cheung <frederick.cheung@gmail.com> wrote:


On Wednesday, November 26, 2014 4:53:23 PM UTC, der_tom wrote:
fred,
cant find it in the docs, is that also available for r3.2?
thx


I've no idea. Did you try it?


--
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/876918b4-c042-4bd6-b16c-0968830fee80%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
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/CADQqhMfbr4-zX_XN9XzGhQQ0BdadtBsGnrpO58s-vjLbyCZ-dw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails

On 28 November 2014 at 14:00, Roelof Wobben <rwobben@hotmail.com> wrote:
> IM at chapter 2 exercises and then he asked if you can try this :
>
> class User < ActiveRecord::Base
>
> has_many :microposts
>
> validates FILL_IN, presence: true
> validates FILL_IN, presence: true
>
> end
>
> but as soon as I do rails s I see this error messages :

I have not looked, but is it possible that you are supposed to fill
that bit yourself?

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%3D0gLuOmF1SnFtf2S05OVVVCrQkp1B1GWCfknNsC6dzck6kfg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.