Hi Jeremy, You are completely right. Projects advance so fast! When Hobo 2.1.0 was released, Ruby 2.1, Rails 4.0.6rc* and Rails 4.1 were not yet so common.
I'm going to update the website to reflect this information tomorrow morning, thanks for the suggestion! Warm regards, Ignacio El 26/06/14 22:15, JezC escribió: > Thanks. Setting the hobo gem to be pulled directly from "hobo/hobo" > seems to have solved this. > > In the thread you reference, I see people saying that they know that > Ruby 2.1 doesn't work. How do they know that? I checked the Hobo > website, and the Hobo 2.1.0 announcement, and even looked at the Readme > for github's hobo/hobo. They mention Rails 4, but not the Ruby version. > They also don't mention that one should set up a Gemfile before running > the hobo generator (protected attributes gem really helps, IME!). > > And, FWIW, I noticed earlier today that someone else was having > difficulty with Rails 4.0.6rc# - an issue that I stumbled on before > dropping back to (a much better idea, a released version - yay!), > 4.,0.5. I haven't had any easy joy with Rails 4.1 - and I couldn't see a > warning that 4.1 is unlikely to work with 2.1.0 > > So... where can one easily find out the min and max revs that work for a > hobo rev level? > > Cheers, JeremyC. > > On Thursday, 26 June 2014 17:00:01 UTC+1, Ignacio Huerta wrote: > > Hi guys, > > This is a bug that's solved in the master branch, see this thread: > https://groups.google.com/d/msg/hobousers/Ylugi_lygYs/cVJObcuzXyAJ > <https://groups.google.com/d/msg/hobousers/Ylugi_lygYs/cVJObcuzXyAJ> > > If you update your Gemfile it should work. We really need to release a > new version though. > > Warm regards, > Ignacio > > El 26/06/14 17:38, JezC escribió: > > Oddly enough, I'm running into a very similar problem. Just > starting to > > troubleshoot it now - though hobo isn't something where I'd say > I'm an > > expert. Pretty simple set of models, just set up the associations and > > restricted three of the four new controllers to not-show an index. > > > > I'm in the process of winding back to a previous commit and DB > migration > > (different branch) and will see if the passwords have been missing > from > > earlier in the process. The last branch was just before I added the > > models, so it should be a good step to check whether adding the > models, > > associations or trimming the controller actions is the root cause. > > > > I'm *not* getting errors. I just don't see the password field. And > > oddly, I can login with just my name and email address as the admin. > > Very strange. > > > > > > > > On Wednesday, 25 June 2014 20:20:46 UTC+1, donz wrote: > > > > Hi All! > > > > Created an app with: hobo new logintest --setup > > > > Accessed it using both Firefox and Chrome and got the site > > administrator page with only two fields: Name and Email Address. > > (no sign of the password and confirmation fields). > > > > I looked at front/index.dryml and it shows the missing fields: > > > > <% if User.count == 0 -%> > > <h3 style="margin-top: 20px;">There are no user > accounts - > > please provide the details of the site administrator</h3> > > <form with="&this || User.new" without-cancel> > > <field-list: fields="name, email_address, password, > > password_confirmation"/> > > <submit: label="Register Administrator"/> > > </form> > > <% end -%> > > > > I'm using: > > > > rvm 1.25.27 (master) > > ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-linux] > > Rails 4.0.5 > > Hobo Command Line Interface 2.1.0 > > > > I tried to signup using the Signup link and got an error page > (shown > > below) > > > > Help? > > > > Don Ziesig > > > > > > The index and signup pages render as: > > > > Logintest <http://localhost:3000/> > > > > * Home <http://localhost:3000/> > > > > * > > > > * > > * Login <http://localhost:3000/login> > > * Signup <http://localhost:3000/users/signup > <http://localhost:3000/users/signup>> > > > > > > Welcome to Logintest > > > > > > Congratulations! Your Hobo Rails App is up and running > > > > * To customise this page: edit app/views/front/index.dryml > > > > > > There are no user accounts - please provide the details > of the > > site administrator > > > > Name > > Email address > > > > > > > > > > > > ActiveRecord::UnknownAttributeError in > UsersController#do_signup > > > > > > unknown attribute: password > > > > |Rails.root: /home/donz/Desktop/ZMatrix/logintest| > > > > Application Trace <http://localhost:3000/users/signup# > <http://localhost:3000/users/signup#>> | Framework > > Trace <http://localhost:3000/users/signup# > <http://localhost:3000/users/signup#>> | Full Trace > > <http://localhost:3000/users/signup# > <http://localhost:3000/users/signup#>> > > > > || > > > > > > Request > > > > *Parameters*: > > > > {"page_path"=>"/users/signup", > > > "authenticity_token"=>"1Pyn1Gy8rOOhx6qSmOAYcV2VtKQQ6TxTHVssxdtW7/8=", > > "user"=>{"name"=>"Don Ziesig", > > "email_address"=>"[email protected]" <javascript:>, > > "password"=>"[FILTERED]", > > "password_confirmation"=>"[FILTERED]"}} > > > > Toggle session dump <http://localhost:3000/users/signup# > <http://localhost:3000/users/signup#>> > > Toggle env dump <http://localhost:3000/users/signup# > <http://localhost:3000/users/signup#>> > > > > > > Response > > > > *Headers*: > > > > None > > > > > > > > > > -- > > You received this message because you are subscribed to the Google > > Groups "Hobo Users" group. > > To unsubscribe from this group and stop receiving emails from it, > send > > an email to [email protected] <javascript:> > > <mailto:[email protected] <javascript:>>. > > To post to this group, send email to [email protected] > <javascript:> > > <mailto:[email protected] <javascript:>>. > > Visit this group at http://groups.google.com/group/hobousers > <http://groups.google.com/group/hobousers>. > > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. > > -- > You received this message because you are subscribed to the Google > Groups "Hobo Users" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at http://groups.google.com/group/hobousers. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/hobousers. For more options, visit https://groups.google.com/d/optout.
