I want to populate data between 2 models (blog title and comment body). In
my example "5.times do..." I'm populating fake data only for my comment
model. How do I populate for both?
On Friday, July 28, 2017 at 1:48:49 AM UTC+10, Hassan Schroeder wrote:
>
> On Wed, Jul 26, 2017 at 11:15 PM, >
>
On Thu, Jul 27, 2017 at 8:10 PM, DHH >
> wrote:
>
>> That article is a joke. Of course Rails training is not as much in demand
>> as it was when it was brand new and nobody knew how to work with it. But to
>> think that the change in that has anything to do with the rise of
>> J2EE/Spring?! C
At enterprise, I observed that they want to save money for maintenance
process.
What I mean to say suppose, we want to upgrade to Rails version from 3 to 4
or 4 to 5, then they want code changes or development activity to be done
faster.
Like in the case of Java they see the benefit of Java backw
https://mindaslab.github.io/2017/07/21/why-i-bet-on-ruby-on-rails.html :)
On Thu, Jul 27, 2017 at 11:25 PM, vedant agarwala wrote:
> Yeah that's an interesting insight- no need for rails training as much now.
>
> And I have moved this discussion to the right group.
>
> Has anyone else read the a
Yeah that's an interesting insight- no need for rails training as much now.
And I have moved this discussion to the right group.
Has anyone else read the article: https://thenextweb.
com/dd/2017/07/26/ruby-rails-major-coding-bootcamp-ditches-
due-waning-interest/?amp=1 ? Were you shocked as well.
On 27 July 2017 at 08:23, Indrajeet Mishra
wrote:
> I have a created rails application google oauth login using google ominoauth
> gem, it seems working fine on web.
> Wrap this application in android app using webview but in android app Google
> login not working. it raise error :=> 403 disallowe
On Wed, Jul 26, 2017 at 11:15 PM, wrote:
> then seed.rb:
>
> 5.times do
> comment.create([{
> name: Faker::jadajada
> body: Faker::jadajada
> }])
>
> but how do I include blog title as well?
What exactly are you trying to accomplish? "include" where?
--
Hassan Schroeder
Hi, how do I push fake data with faker when I have:
*blog*
title:string
and
*comment*
name:string
body:text_field
comments belongs_to :blog
then *seed.rb:*
5.times do
comment.create([{
name: Faker::jadajada
body: Faker::jadajada
}])
but how do I include blog title as well? There s
I have a created rails application google oauth login using google
ominoauth gem, it seems working fine on web.
Wrap this application in android app using webview but in android app
Google login not working. it raise error :=> 403 disallowed user_agent.
please go through the link to get more det
9 matches
Mail list logo