Re: [Rails] faker gem for Blog and comment

2017-07-27 Thread k . stulgys
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, > >

[Rails] Re: An article: interest in rails is waning

2017-07-27 Thread Michael Pavling
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

Re: [Rails] An article: interest in rails is waning

2017-07-27 Thread Ankur Gera
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

Re: [Rails] An article: interest in rails is waning

2017-07-27 Thread Karthikeyan A K
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

[Rails] An article: interest in rails is waning

2017-07-27 Thread vedant agarwala
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.

Re: [Rails] Google Oauth2 in embedded browser (web view)

2017-07-27 Thread Colin Law
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

Re: [Rails] faker gem for Blog and comment

2017-07-27 Thread Hassan Schroeder
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

[Rails] faker gem for Blog and comment

2017-07-27 Thread k . stulgys
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

[Rails] Google Oauth2 in embedded browser (web view)

2017-07-27 Thread Indrajeet Mishra
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