Hello friends
(Firstly thank you for everyone in the community: for supporting it and
answering questions etc.).
I am wanting to test out sequel with a rails app. So I ran a simple
scaffold *rails g scaffold Organisation name regirtation_no*
- *Q1: *But am having some problems with the rails routes helper method.
Normally this would work: (see below), but instead i have to use:
*organisation_path(organisation)* in order to make that work. Am I doing
this right, or is there a better way?
<% @organisations.each do |organisation| %>
<tr>
<td><%= link_to 'Show', organisation %></td>
</tr>
<% end %>
- *Q2: *Am having some problems with the forms: I am using a form_with
rails helper. Am I doing this right? When I am editing the model, the
"Update Organisation" model says "Create Organisation". Is there a plugin /
library when using sequel that is better or that I'm missing out on?
Thanks you! Much appreciate any pointers.
Ben
--
You received this message because you are subscribed to the Google Groups
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/sequel-talk/5b614c70-8b9f-4215-93ed-2b295f352ad0%40googlegroups.com.