search for: eachev

Displaying 2 results from an estimated 2 matches for "eachev".

Did you mean: nachev
2013 Mar 15
2
Icalendar.Parse(StringIO.new(aString)) complains about missing method, bytesize
..., world!" end get ''/test'' do "You''ve found me!" end post ''/ics2event'' do #puts request.body.string invite = StringIO.new(params["ics"]) cals = Icalendar.parse(invite) for each in cals do for eachEvent in each.events do puts eachEvent.summary puts eachEvent.description puts eachEvent.location puts eachEvent.status puts eachEvent.dtstart puts eachEvent.dtend puts eachEvent.organizer for eachA...
2006 Jun 10
6
table associations
...I tried to do this: class Event < ActiveRecord::Base belongs_to :user end class User < ActiveRecord::Base has_many :events end in the event_controller.rb: def list @users = User.find(:all) @events = Event.find(:all) end in the list.rhtml: <% @events.each do |eachevent| %> <tr> <td><%= link_to eachevent.action, :action => "show", :id => eachevent.id %> <TD><%= eachevent.user.name %></TD> <td><%= eachevent.whenit %> </td> </tr> <% end %> But I get an error say...