Displaying 3 results from an estimated 3 matches for "event_categories".
2010 Jun 24
0
Nested Model Forms
...event_type:
has_and_belongs_to_many :time_units
has_many :events
belongs_to :event_category
accepts_nested_attributes_for :events
event:
belongs_to :event_type
controller new action has ...
@event_category.event_types.build
@event_category.event_types[0].events.build
Forms:
event_categories/new.html.erb
<% form ...... do |form| %>
<% form.fields_for :event_types do |event_type_form| %>
<% event_type_form.fields_for :events do |event_form| %>
<% @time_units.each do |time_unit| %>
<% name = time_unit.name; id = time_unit.id %>...
2005 Jul 06
1
collection_select not selecting the selected item
Hi !
I have Event belongs_to Category. The generated source is:
<p><label for="event_category">Category</label><br/>
<select id="event_category" name="event[category]">
<option value="8">Introduction</option>
<option value="7">Programming</option>
</select></p>
Notice no
2023 Mar 20
1
Dovecot unified event filtering
Hello,
I have an issue with debug logging when using a custom plugin for Dovecot. In my plugin, I create a child event of the session's user event:
```c
struct event *plugin_event = event_create(list->ns->user->event);
event_set_name(plugin_event, "oidc_shared_mailboxes_plugin");
event_set_min_log_level(plugin_event, LOG_TYPE_WARNING);