-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I've met this error while testing a new record validations:
Hobo::Error (new style url /projects does not match old style url
/projects/. obj: #<Project id: nil, name: "", description: "",
start_date: nil, end_date: nil, place: "", created_at: nil,
updated_at: nil>. args: []. backtrace:
["/home/ignacio/Trabajos/2_Proyectillos/Hobo/hobo/hobo/lib/hobo/controller/model.rb:412:in
`destination_after_submit'",
"/home/ignacio/Trabajos/2_Proyectillos/Hobo/hobo/hobo/lib/hobo/controller/model.rb:608:in
`create_response'"
Expected behaviour
- ------------------
Render the form again showing the validation errors
How to reproduce
- ----------------
- - Create a new app with the latest Hobo code from master
- - Create a simple model like "project" with a few fields
- - Add "required" to the name field
- - Go to the new page form and leave all fields empty
- - Click "create"
Before I waste a lot of time digging on this: does anyone have any
idea where this error might come from?
Regards,
Ignacio
- --
Ignacio Huerta Arteche
http://www.ihuerta.net
Tel�fono: 0034 645 70 77 35
Email realizado con software libre
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla -
http://www.enigmail.net/
iEYEARECAAYFAlBoHWAACgkQBPlUJ6RHaOSwnQCfalea6vOScpTrbl8XKYBfkgiI
tvkAn3rLiIM+TTbfzqBnju8nRp7Ml6kl
=O4VP
-----END PGP SIGNATURE-----