Re: [Rails] ancestry gem creating and editing people view forms

2018-10-01 Thread Nielson Rolim
-association -- Nielson Rolim nielson.ro...@gmail.com On 29/09/2018 11:21, fugee ohu wrote: On Sunday, September 23, 2018 at 10:44:50 AM UTC-4, Nielson Rolim wrote: I'd suggest you create your own solution without ancestry. I had a similar problem. I have an User model and each user

Re: [Rails] ancestry gem creating and editing people view forms

2018-09-23 Thread Nielson Rolim
, association_foreign_key: :user_id** * That way, I can add an user as parent of several users or an user as child of several users. *my_user.parents* will return all my_user parents and *my_user.children* will return all my_user children ** -- Nielson Rolim nielson.ro...@gmail.com On 23/09/2018 08

Re: [Rails] What is the name of that gem?

2018-09-10 Thread Nielson Rolim
You can use just Yarn without webpacker too. On Monday, September 10, 2018 at 6:33:45 PM UTC-3, Rob Zolkos wrote: > > These problems are largely solved by webpacker now in Rails. Just add > npm packages to your package.json (just as easy as adding to a Gemfile) and > it works great with the

Re: [Rails] configuring rails app in LAMP or WAMP server

2013-12-23 Thread Nielson Rolim
/opt_out. -- --- Nielson Rolim nielson.ro...@gmail.com -- 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+unsubscr...@googlegroups.com

Re: [Rails] running model methods from command line

2012-07-01 Thread Nielson Rolim
Try create just a ruby script and include 'rubygems' and 'active_record': |#!/path/to/ruby ||require'rubygems'| |require'active_record'| You must include all the models you need also. Then give execute permission to your script: |chmod a+x myscript.rb| -- Nielson Rolim nielson.ro

Re: [Rails] Chat client In rails

2011-07-09 Thread Nielson Rolim
to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en. -- Nielson Rolim nielson.ro...@gmail.com