[Hobo Users] NoMethodError undefined method field_names_where_true

2009-02-05 Thread MartOn
Hello I am trying to move my app from herokugarden to heroku. To get it working I had to remove hobo as submodule and just add it from github as a plugin. I did this and it seems to work locally. Some hobo functionallity is working online aswell, but when I for instance access /users/1 I get

[Hobo Users] Re: Blank (white) index page.

2009-02-05 Thread Gabriele Tassoni
Kevin, Matt, thank you for the help... the N+1 db calls is 1 db call for the customers and then another N calls right.. thank you for the axplanation... I'll definitely have a look at this... sometimes more accesses to the db, but a lot shorter are really faster than big queries... As to

[Hobo Users] inplace editor callback

2009-02-05 Thread lucassus
Hi all! How to create simple callback in in-place editor? For instance: after complete editing I want to update more than one field or check new value of editing field and change row's background if some condition is met. Is this possible in current in-place editor model?

[Hobo Users] Re: NoMethodError undefined method field_names_where_true

2009-02-05 Thread MartOn
Nope, that did not help. I am abit worried that it may be something with the database. Heroku uses this YAML_DB plugin and I used that to migrate the database. I did a rake db:load The app is public, if you go to: http://triptracker.heroku.com/trips you can see a list of trips (sorry it is in

[Hobo Users] Re: NoMethodError undefined method field_names_where_true

2009-02-05 Thread MartOn
Hmm. Now I dumped the application to a bundle on heroku and then downloaded it locally, then did a rake db:load and fired up the app and it works. So it seems the only place it does not work, is on heroku. Strange /MartOn On Feb 5, 10:03 am, MartOn frode.mel...@gmail.com wrote: Nope, that

[Hobo Users] How to access the validation( rule)s in a DRYML tag definition

2009-02-05 Thread Gert Thiel
Hoi fellow Hobo addicts. Does someone know how to access the validation( rule)s in a DRYML tag definition? I'm about to write an extension that add some javascript to the forms to validate the inputs at the client side (aka in the browser) for better user experience. My models have some

[Hobo Users] Re: NoMethodError undefined method field_names_where_true

2009-02-05 Thread Tom Locke
That recipe is for herokugarden - I've never tested it with the new heroku.com service so it may not work at all Tom On 5 Feb 2009, at 14:05, MartOn wrote: There is something wrong with my hobo plugin. Thats what causing the error... But the receipe for adding hobo to heroku is not

[Hobo Users] Re: NoMethodError undefined method field_names_where_true

2009-02-05 Thread MartOn
ok, so how can I now remove the submodule of hobo gracefully on server and readd it as normal plugin? It seems all these issues I have had, is that I ended up with 2 different versions of hobo locally and remote. /MartOn On Feb 5, 3:06 pm, Tom Locke t...@tomlocke.com wrote: That recipe is

[Hobo Users] Re: NoMethodError undefined method field_names_where_true

2009-02-05 Thread Tom Locke
ok, so how can I now remove the submodule of hobo gracefully on server and readd it as normal plugin? I haven't even looked at the new heroku.com - I have no idea Tom --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[Hobo Users] Re: NoMethodError undefined method field_names_where_true

2009-02-05 Thread MartOn
ok, you should look at it :-) It is same as herokugarden, just without the code-editor stuff. It is ment for remote git administration. Problem now is that there are no were to add gems and stuff, so I am confused :-) I tried git submodule remove vendor/plugins/hobo but that did not work :-)

[Hobo Users] Re: NoMethodError undefined method field_names_where_true

2009-02-05 Thread MartOn
I got it working now. Here is what I did: - removed hobo as submodule: rm -rf vendor/plugins/hobo - removed hobo folder from git: gir rm vendor/plugins/hobo - commited - pushed changes to heroku - Added hobo as regular plugin: script/plugin install git - added it to git: git add . -

[Hobo Users] Re: inplace editor callback

2009-02-05 Thread kevinpfromnm
I don't recall specifically, but I think the editor tags (inplace editing) don't currently support the full suite of ajax callback hooks that are available on the form tags. You should still be able to define normal javascript hooks and do what you need through that. That is assuming that my

[Hobo Users] Re: How to access the validation( rule)s in a DRYML tag definition

2009-02-05 Thread kevinpfromnm
Disclaimer, I came across this with google and have not tried it. http://wiki.rubyonrails.org/rails/pages/Validation+Reflection From another site, it seems there is no built in easy way to do validation reflection in rails. It then proceeded to describe an example of how to do it but figured