I created a scaffold that has a controller and model for an activism
events feature where individual activism networks will post events for
their supporters to attend. Called EventsController and :events model
The events table has a laundry list of properties for the create method.
Right now, I'm trying to figure out how to give users outside of the
events creator the ability to sign up to attend those events.
How would you develop such a relationship between a show post and a
sign-up form for normal users?
Right now,
my Event.rb
has belongs_to :activism_co_user
has_one :category
Activism_co_user.rb
has_many :events
The table itself has quite a few properties that describe what the event
will be and how many people can attend. What I would I like to is allow
them to limit the amount of tickets for an event, and let users pick
options like donate to their charity using a stripe mechanism during
checkout
--
Posted via http://www.ruby-forum.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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/7a2642c3d2d12b026239120b9ced49ed%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment