Re: [Rails] how to use form_with

2019-11-18 Thread fugee ohu
On Monday, November 18, 2019 at 3:31:13 PM UTC-5, Walter Lee Davis wrote: > > > On Nov 18, 2019, at 3:20 PM, fugee ohu > > wrote: > > > > > > > > On Monday, November 18, 2019 at 2:56:24 PM UTC-5, Rob Zolkos wrote: > > Have you read the Rails API docs and Rails Guides for usage of >

Re: [Rails] how to use form_with

2019-11-18 Thread Walter Lee Davis
> On Nov 18, 2019, at 3:20 PM, fugee ohu wrote: > > > > On Monday, November 18, 2019 at 2:56:24 PM UTC-5, Rob Zolkos wrote: > Have you read the Rails API docs and Rails Guides for usage of form_with? > > https://api.rubyonrails.org/classes/ActionView/Helpers/FormHelper.html#method-i-form_with

Re: [Rails] how to use form_with

2019-11-18 Thread fugee ohu
On Monday, November 18, 2019 at 2:56:24 PM UTC-5, Rob Zolkos wrote: > > Have you read the Rails API docs and Rails Guides for usage of form_with? > > > https://api.rubyonrails.org/classes/ActionView/Helpers/FormHelper.html#method-i-form_with > https://guides.rubyonrails.org/form_helpers.html > >

Re: [Rails] how to use form_with

2019-11-18 Thread fugee ohu
On Monday, November 18, 2019 at 2:56:24 PM UTC-5, Rob Zolkos wrote: > > Have you read the Rails API docs and Rails Guides for usage of form_with? > > > https://api.rubyonrails.org/classes/ActionView/Helpers/FormHelper.html#method-i-form_with > https://guides.rubyonrails.org/form_helpers.html > >

Re: [Rails] how to use form_with

2019-11-18 Thread Rob Zolkos
Have you read the Rails API docs and Rails Guides for usage of form_with? https://api.rubyonrails.org/classes/ActionView/Helpers/FormHelper.html#method-i-form_with https://guides.rubyonrails.org/form_helpers.html On Mon, Nov 18, 2019 at 2:25 PM fugee ohu wrote: > Trying to build a rails 5.2

[Rails] how to use form_with

2019-11-18 Thread fugee ohu
Trying to build a rails 5.2 form using form_with I get this error: ActionView::Template::Error (wrong number of arguments (given 1, expected 0)): <%= form_with @item, url: new_item_path, method: 'get' do |f| %> <%= f.select :item, :item_type_id, ItemType.all, :id, :name %>

Re: [Rails] Ruby On Rails API generic quick-starter

2019-11-18 Thread Prasanth Balan
Great, will try... - Prasanth On Mon, Nov 18, 2019 at 12:39 AM shahroon ali wrote: > Nice job, will give it a try. > > Shahroon > > On Sun, Nov 17, 2019, 11:56 PM Marcos Vieira Ribeiro < > marcosvieira@gmail.com> wrote: > >> Hi, fellows Rubyists! I'm here to contribute a bit to the open

[Rails] how do i use awesome_nested_set in views

2019-11-18 Thread fugee ohu
Where I have a @category.name column I'd like to now show the complete self_and_ancestors names instead of just self names Does anyone know how I would construct that in my view? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To