> Hi Jaap,
>
> Zie dat je ned bent, dus ik vervolg in het ned.
Prima!
>
> Het gewenste proces is als volgt.
>
> 1)Gebruiker logt in
> 2)Zoekt in zoekbox op vertrek en aankomst + datum (bijv amst -
> barcelona, 22 maart 2010)
> 3)Waarde van de zoekbox (search[params] moeten worden doorgegeven aan
jhaagmans wrote:
> If I understand correctly you want to log these searches in the
> database, so you would probably want to do something like:
>
> Search.new(:date => params[:date], :arrival => params
> [:arrival], :departure => params[:departure], :user_id =>
> current_user.id).save
>
> You mi
If I understand correctly you want to log these searches in the
database, so you would probably want to do something like:
Search.new(:date => params[:date], :arrival => params
[:arrival], :departure => params[:departure], :user_id =>
current_user.id).save
You might need to change current_user.i
3 matches
Mail list logo