[Hobo Users] Rspec with hobo

2008-11-07 Thread MartOn
Hello Does Hobo have any Rspec support? Normally if you use rspec you do a script/generate rspec_model, but this is not possible when you use the hobo_model. In my mind there should be a --withrspec on hobo where it also generate rspec testing files. /MartOn

[Hobo Users] Failing test causes infinite loop of autotest

2008-11-08 Thread MartOn
in Hobo, or do I have to exclude auto/ rapid folder form autotest sniffing? /MartOn --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Hobo Users group. To post to this group, send email to hobousers@googlegroups.com

[Hobo Users] Re: Hobo DRYML Guide 2008-11-07 in a PDF

2008-11-10 Thread MartOn
Thanks Owen. I have requested a PDF export functionallity in cookbook site.. that will simplify PDF generation in the future if implemented. /MartOn On Nov 9, 10:06 pm, Owen [EMAIL PROTECTED] wrote: http://hobousers.googlegroups.com/web/Hobo%20DRYML%20Guide%202008-11-... For those who like

[Hobo Users] Cookbook - 19-deploy-a-hobo-app-on-heroku - transmit timeout issue

2009-01-07 Thread MartOn
/gems/heroku-0.4.1/bin/heroku:50 from /usr/bin/heroku:19:in `load' from /usr/bin/heroku:19 /code Why is this coming? If I try to re-run the same rake, it exits immediately. /MartOn --~--~-~--~~~---~--~~ You received this message because you

[Hobo Users] Re: Hiding email_address

2009-01-13 Thread MartOn
extendable without needing to add more security permissions - you do not want spammers to leech email adresses from your sites. - admins can edit all - self can edit self (except to give adminrights to them selves :-)) /MartOn --~--~-~--~~~---~--~~ You received

[Hobo Users] Re: Hiding email_address

2009-01-13 Thread MartOn
Correction of this line: If you want Administrators to be able to give administrator rights to other users, you can NOT merge the last and first line. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Hobo Users group.

[Hobo Users] Re: Activation Lifecycle Problems

2009-01-20 Thread MartOn
Can you post a receipt on cookbook when this works on how to activate the functionallity: - Email activation - forgot password (new password over email) /MartOn On Jan 15, 4:16 pm, Tom Locke t...@tomlocke.com wrote: I can provide a patch, but i need to find out how to do it (I'm a git

[Hobo Users] auto_actions_for a has_one realtion

2009-01-21 Thread MartOn
model. /MartOn --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Hobo Users group. To post to this group, send email to hobousers@googlegroups.com To unsubscribe from this group, send email to hobousers+unsubscr

[Hobo Users] Table plus - sorting on this / name

2009-01-24 Thread MartOn
Hello I tried to get sort to work on dynamic name attribute. My model has a def name and I would like to be able to sort on this value. How can this be done? How would you define a default sort, if no other sort options are pressed? Like a created_at DESC? /MartOn

[Hobo Users] NoMethodError undefined method field_names_where_true

2009-02-05 Thread MartOn
:in `call_tag_parameter' Any Ideas why this happens? /MartOn --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Hobo Users group. To post to this group, send email to hobousers@googlegroups.com To unsubscribe from this group

[Hobo Users] Re: NoMethodError undefined method field_names_where_true

2009-02-05 Thread MartOn
it is in norwegian). If you press the Date for the trip, or det user, to get more detail, it crashes. NOTE! This works on herokugarden and on my local version. I did a deleted the develoment sqlite file and did a rake db:load locally and it works. Thanks for quick response. /MartOn On Feb 5, 9:44 am

[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

[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

[Hobo Users] Re: NoMethodError undefined method field_names_where_true

2009-02-05 Thread MartOn
:-) /MartOn On Feb 5, 3:19 pm, Tom Locke t...@tomlocke.com wrote: 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

[Hobo Users] Re: NoMethodError undefined method field_names_where_true

2009-02-05 Thread MartOn
. - committed changes - pushed it to heroku - did a hobo:generate_taglibs to be on safetyside - restarted app Now it works. The problem was probably mixed versions between what I had locally and remote. Atleast now everyone else will get a hit on google on this error message :-) /MartOn On Feb 5, 3:22 pm

[Hobo Users] Re: NoMethodError undefined method field_names_where_true

2009-02-08 Thread MartOn
Server Error Content-Type: text/html htmlbodyh1500 Internal Server Error/h1/body/html to dump out instead of rake console message. /MartOn On Feb 5, 7:07 pm, MartOn frode.mel...@gmail.com wrote: I got it working now. Here is what I did: - removed hobo as submodule: rm -rf vendor/plugins/hobo

[Hobo Users] Re: Cavortify is now powered by hobo.

2009-02-12 Thread MartOn
It would be nice if you could post how you got lifecycle to work on the user model. I then think of the e-mail activation and lost password stuff. You could post it as a receipe on http://cookbook.hobocentral.net/ /MartOn On Feb 12, 2:51 am, Tiago Franco gama.fra...@gmail.com wrote: Hi, I'm

[Hobo Users] Blueprint CSS - the way to go?

2009-02-25 Thread MartOn
in a standard way and it would probably make it easier to add designs to hobo? What you think? /MartOn --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Hobo Users group. To post to this group, send email to hobousers

[Hobo Users] Re: Hobo in two minutes

2009-03-21 Thread MartOn
Have you installed ruby support for Sqlite3? try 'sudo gem install sqlite3-ruby' atleast I have a gem installed called sqlite3-ruby /MartOn On Mar 21, 5:46 pm, jzakiya jzak...@mail.com wrote: Toshiba Satelite laptop, PCLinuxOS 2009.1 gcc 4.1.1, Ruby 1.8.6 (patchlevel 114) Hobo 0.8.5, Rails

[Hobo Users] Re: Hobo in two minutes

2009-03-21 Thread MartOn
only and not computer env. As for sudo on windows, I have actually seen implementations of it for Vista on howtogeek.com. /MartOn On Mar 21, 7:48 pm, Brandon Zylstra lists4bran...@gmail.com wrote: on Windows I'm 99% sure you wouldn't (and couldn't) use sudo.   Unless you're running it on Cygwin

[Hobo Users] Re: Does Hobo scope work in :has_many ... :through relations?

2009-04-10 Thread MartOn
[/code] At least this seems to work fine. /MartOn On Feb 28, 3:30 am, tmorgan99 tmorga...@gmail.com wrote: I still don't know where this has+many+through thing is getting lost... I have found a work-around using yfactorial/utility_scopes: --- has_many :memberships ... has_many

[Hobo Users] Take rails version as parameter

2009-04-10 Thread MartOn
like this: rails _2.2.2_ my_app, so why not add this to hobo like this: hobo _2.2.2_ my_app /MartOn --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Hobo Users group. To post to this group, send email to hobousers

[Hobo Users] Re: error on generate hobo_migration

2009-04-10 Thread MartOn
Hope this may help some frustrated hobo-developers /MartOn On Apr 9, 9:59 am, tmorgan99 tmorga...@gmail.com wrote: you will find these settings in the environment files within the config folder They may be remnants from your earlier attempts. they should be removed. You might try    rake

[Hobo Users] Extending main-nav

2009-04-11 Thread MartOn
a different class name on the selected controller, so it can be reflected in the menu? /MartOn --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Hobo Users group. To post to this group, send email to hobousers@googlegroups.com

[Hobo Users] Re: How to get the Cancel button routing to previous page not home page

2009-04-14 Thread MartOn
that you want user to be redirected to (for instance: this.parent_object) Also reading the DRYML guide will brighten your day, at least it did it for me. Hope this helps you along /MartOn On Apr 14, 4:29 pm, Clarksta stephen.clar...@gmail.com wrote: Hi, havent been using Hobo for long so please

[Hobo Users] Re: Calling a mysql stored procedure on save button

2009-04-14 Thread MartOn
hobo, may also help you. Hobo error messages are sometimes more cryptic than regular rails-errors. /MartOn On Apr 13, 10:12 am, Shaz shazi2...@gmail.com wrote: Hi, I would like to call a mysql stored procedure in the save button of a form, where would you put the code i.e. in the views?, also

[Hobo Users] This week in Edge Hobo or at least this month in hobo :-)

2009-04-14 Thread MartOn
Would be nice to have a blog article once in awhile on what is happening with Hobo. Like RoR's This week in Edge Rails /MartOn --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Hobo Users group. To post to this group

[Hobo Users] Re: Extending main-nav

2009-04-14 Thread MartOn
I ended up overriding, not extending the nav-item tag. Not the best way, but the css design had a slightly different way of building the menu and extending sometimes makes it more complex than just overriding the tag. /MartOn On Apr 12, 11:20 pm, Spiralis super.ro...@gmail.com wrote: I have

[Hobo Users] Re: How to get the Cancel button routing to previous page not home page

2009-04-14 Thread MartOn
in the forum :-) Please post back if you find the answere yourself. /MartOn On Apr 14, 8:21 pm, Clarksta stephen.clar...@gmail.com wrote: Thanks MartOn, very helpful and a very quick response. After your advice I'm nearly there, I have got the desired behaviour using the or-cancel tag but by adding

[Hobo Users] Re: Hobo on Shared Hosting - Deployment Blues!

2009-04-16 Thread MartOn
Have you tried installing hobo as a plugin? I have mine on Heroku and had to add hobo as plugin since I can not do gem installs on heroku, You also need to install the will_paginate plugin. /MartOn On Apr 16, 9:13 pm, Arman arman.er...@gmail.com wrote: I have a DreamHost account where I have

[Hobo Users] Re: Hobo on Shared Hosting - Deployment Blues!

2009-04-16 Thread MartOn
Do you have any log from the application when it fails? /MartOn On Apr 16, 10:19 pm, Arman arman.er...@gmail.com wrote: Thanks for the input but I already installed Hobo, will_paginate and paperclip as plugins. On Apr 16, 12:23 pm, MartOn frode.mel...@gmail.com wrote: Have you tried

[Hobo Users] Re: Hobo on Shared Hosting - Deployment Blues!

2009-04-20 Thread MartOn
Just remember that herokugarden and heroku is not the same. heroku does not support the git submodule. So you need to install hobo with the plugin/install script instead. /MartOn On Apr 20, 1:28 pm, Tiago Franco gama.fra...@gmail.com wrote: Good luck :) Have you seen the heroku's recipe

[Hobo Users] Re: lifecycle and order of execution

2009-04-23 Thread MartOn
, :password_confirmation], :new_key = true, :become = :inactive do UserMailer.deliver_account_activation(self, lifecycle.key) end Donno if it helps, but this code works for me atleast. /MartOn On Apr 23, 1:12 am, tuan jim eric...@gmail.com wrote: there have been several

[Hobo Users] accept_nested_attributes_for crashes

2009-04-27 Thread MartOn
/gems/activerecord-2.3.2/lib/active_record/ base.rb:1964:in `method_missing_without_paginate': undefined method `accept_nested_attributes_for' from /Library/Ruby/Gems/1.8/gems/mislav-will_paginate-2.3.8/lib/ will_paginate/finder.rb:170:in `method_missing' from /Users/marton/repos/heroku

[Hobo Users] Re: accept_nested_attributes_for crashes

2009-04-27 Thread MartOn
I just got the impression I could choose which way. So given I am developing a new application, I thought it was best to use the rails way, since that may be also the hobo-way in the future. I will use hobo way for now. /MartOn On Apr 27, 6:38 pm, Bryan Larsen bryan.lar...@gmail.com wrote

[Hobo Users] Re: :accessible = true issue

2009-09-01 Thread MartOn
the role as a has_one from the club to user. BR MartOn On Aug 31, 7:42 pm, kevinpfromnm kevinpfro...@gmail.com wrote: Do you want another relationship or just a named scope for this? On Aug 31, 3:24 am, MartOn frode.mel...@gmail.com wrote: Hello I am setting up a membership relation

[Hobo Users] Re: :accessible = true issue

2009-09-02 Thread MartOn
Sorry for my terrible English in previous post. I did not read it through before sending, what I mean :-) /MartOn On Sep 2, 12:25 pm, MartOn frode.mel...@gmail.com wrote: That was my intention to use scopes, but I could not get hobo to work with assignments of these roles. That means I have

[Hobo Users] How to improve the View rendering time

2010-02-22 Thread MartOn
/MartOn -- You received this message because you are subscribed to the Google Groups Hobo Users group. To post to this group, send email to hobous...@googlegroups.com. To unsubscribe from this group, send email to hobousers+unsubscr...@googlegroups.com. For more options, visit this group at http

[Hobo Users] Re: How to improve the View rendering time

2010-02-22 Thread MartOn
NOTE! I forgot to mention that I have default pagination enabled, so only 30 hosts are showing at a time. On Feb 22, 3:04 pm, MartOn frode.mel...@gmail.com wrote: Hello I have a rather simple page of hosts (64 hosts in the database now). If I show only 3 attributes in a table-plus it takes

[Hobo Users] Dynamic select

2010-02-22 Thread MartOn
I just added this request for receipt: http://cookbook.hobocentral.net/questions/41-dynamic-select-menus /MartOn -- You received this message because you are subscribed to the Google Groups Hobo Users group. To post to this group, send email to hobous...@googlegroups.com. To unsubscribe from

[Hobo Users] Re: How to improve the View rendering time

2010-02-23 Thread MartOn
Nice Kevin could you create a Receipt for this in the cookbook (http:// cookbook.hobocentral.net/)? Would be nice to see how you do it. /MartOn On Feb 23, 11:31 pm, kevinpfromnm kevinpfro...@gmail.com wrote: What I've been doing is fragment caching cards that get called a lot so that reads

[Hobo Users] Re: WEIRD: routing disappears when I migrate to production mode

2010-02-24 Thread MartOn
the routes you have in development and production. /MartOn On Feb 24, 12:47 pm, Edward Samokhvalov a0b0c0d...@gmail.com wrote: I've just recreated all the app from the scratch and it still works in development, but no in production mode. In production mode I get working /users/1/stories

[Hobo Users] Re: hobo-test-environment updated

2010-02-26 Thread MartOn
found. /e i Now using ruby 1.8.7 p249 /i i Now using ruby 1.9.1 p378 /i e No *.gems file found. /e i Now using ruby 1.8.7 p249 /i i Now using jruby 1.4.0 /i e No *.gems file found. /e Is this expected output? /MartOn On Feb 26, 6:20 am, Bryan Larsen bryan.lar...@gmail.com wrote: I updated

[Hobo Users] Re: hobo-test-environment updated

2010-02-26 Thread MartOn
I did a rvm update restarted terminal. Now it seems to run. I will come back when I have more info. /MartOn On Feb 26, 5:22 pm, Bryan Larsen bryan.lar...@gmail.com wrote: Thanks for trying this out. Weird.   Does it work when you do it manually?   For instance: rvm use 1.8.7 rvm gems

[Hobo Users] Re: hobo-test-environment updated

2010-02-26 Thread MartOn
This command: rvm gems import 1.8.7%rails2.2.gems fails here: rubydoctest 1.1.3 is not installed, installing... Error running 'GEM_HOME='/Users/marton/.rvm/gems/ruby-1.8.7- p249%rails2.2' GEM_PATH='/Users/marton/.rvm/gems/ruby-1.8.7- p249%rails2.2/bin:/Users/marton/.rvm/gems/%global/bin

[Hobo Users] Re: Hobo in Two Minutes...two hours later

2010-03-01 Thread MartOn
/generate scaffold post title:string body:text rake db:migrate ruby script/server - http://0.0.0.0:3000/posts - You may try to start the rails server with mongrel. gem install mongrel then script/server will pick mongrel instead. Maybe mongrel gives you a better error message. /MartOn

[Hobo Users] Re: Hobo in Two Minutes...two hours later

2010-03-01 Thread MartOn
to make a database choice at some point or find plugins that helps creating database constraints and still be database independent. /MartOn On Mar 1, 5:56 pm, Wildman mywild...@gmail.com wrote: Thanks for the tip...I ought to have tried a simple rails app first. It was probably an issue

[Hobo Users] Re: Table plus - sorting on this / name

2009-01-25 Thread Frode Marton Meling
] != 'this' ? parse_sort_param(:field1, :field2, :field3) : field2 ) ) end Just replace Model and field1, field2 ... according to your models. field2 would be the primary sorted field of your model. /Gert On Jan 24, 10:24 am, MartOn frode.mel...@gmail.com wrote: Hello I tried to get sort to work

[Hobo Users] Re: error on generate hobo_migration

2009-04-02 Thread Frode Marton Meling
You do not have to remove rails 2.3, you just need to install 2.2.2 and make sure your rails config points to version 2.2.2. You can have multiple installations of rails-version at the same time /Frode On Apr 2, 2009, at 7:27 PM, danman wrote: I dropped all the 2.3 gems I could find