------ art_11477_26013015.1207888721510
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
I have a form on a page *add_flight.rhtml -*
<%ðòm_tag({:controller local_flights",:action shared"},
{:id add_flight", :method post"})%>
.....
<% bmit_tag("Add your Flight Request")%>
</form>
Then,* in controller - *
def shared
_flt arams[:fltAvailable]
if !_flt.blank?
@flt haredLocalFlight.new(_flt)
@flt.save
end
@fltSharedList haredLocalFlight.find(:all)
end
>> This seems to be getting called and then shared.rhtml gets rendered
However, record doesn't get saved to table. There is no error msg in
development.log.
Any ideas on what I am missing here?
Please help.
Thanks,
--
Rajat Garg
Ph: 206-499-9495
Add: 1314 Spring Street, #412
Seattle, WA 98104
Web: http://www.pilotoutlook.com
-----------------------------------------------------------------------------------------------------
Flying is the second greatest thrill known to man. Landing is the first!
------ art_11477_26013015.1207888721510--