search for: hobo

Displaying 20 results from an estimated 21 matches for "hobo".

Did you mean: bobo
2006 Apr 03
4
How to fake composite primary keys?
I know ActiveRecord doesn''t support composite primary keys, but I need to use one, and I need it ASAP. I don''t need any composite foreign keys, luckily; what I have is a table that stores old versions of rows in another table, so the composite key is an id + date stamp. Would someone tell me a hack I can use to support this? -- View this message in context:
2011 Sep 13
3
Accessing Rails helper method with_output_buffer
Hi all, I cannot figure out how to correctly use the with_output_buffer helper method (located in ActionView::Helpers::CaptureHelper) inside a custom FormBuilder. Below follows a simplified example. I''m trying to achieve the following behavior in an ERB as suggested in the form_for helper docs in the Rails source: ========== <%= form_for @object, :builder => MyFormBuilder do
2008 Feb 01
2
Facebooker interfering with existing application
Hi! I have an existing application, basically a very simple Hobo app. It works... When I install the Facebooker plugin and create the facebooker.yml file (with valid or fake content, doesn''t matter), the original app starts behaving strangely. The controller and view logic keeps working, but several static files stop being served from http://localhost...
2011 Aug 23
2
Where is WillPaginate::Finders ???
...rake or its versions). I don''t remember doing anything that should have updated rake. It recommended performing a /bundle upgrade/ to get rake 0.9.2 -- I did it, no problem making the upgrade itself. Unfortunately, after the upgrade, both /rake db:migrate/ (rake is using 0.9.2) and /hobo g migration/ (it says its using rake 0.8.7) produce errors in the form of: *uninitialized constant WillPaginate::Finders (NameError)* /bundle update/ shows: *Using will_paginate (3.0.0) * The error is occurring in both production and development modes so I''m stuck - I can''t d...
2009 Aug 29
2
Users, Roles and Permissions
Hello, I''m currently working on a text-based roleplay browser game, and i''m trying to figure out what the best approach would be in order to create a system that allows me to assign roles to a user, and permissions based upon the role a user has. I''ve been thinking about creating a model User, which has_many :roles, and with the Role model which has_many :permissions.
2007 Aug 26
4
howto regressions on environment.rb in Rails projects
How would one write a spec on environment.rb in a rails app? I was requiring a gem in environment.rb, but received a "MissingSourceError". Generally, ruby raises a LoadError when it can''t find a gem, but rails overrides this to raise a MissingSourceError (since rails is expecting a required file to be in lib/...). How would I write a spec to override this behavior,
2009 Dec 07
1
problem starting rails (hobo) app with passenger
Dear All! I''ve set up my apache, passenger and configs, the passenger works, but the app can''t be started. the erros are the following These are the possible causes: * There may be a syntax error in the application''s code. Please check for such errors and fix them. * A required library may not installed. Please install all libraries that this
2009 Jun 09
0
Rails Hosting for Newbies
...to try them out is that they have a lot a pre-installed gems. At this point, I find versioning issues, dependencies on non-gem libraries and such, a little more hassle than I need. I liked the fact that a lot of the libraries I was interested in were already installed. In particular, is one called Hobo (which is a Rails framework—or maybe it''s a framework framework, since Rails is already a framework?). Anyway, this is not the time to get into it, but I''ve decided I want to make Hobo the base I build my apps on. So my next step was to generate a Hobo app. This is where I got d...
2008 Apr 02
18
Setting up PuppetShow - Puppet's Web Interface
...ow "Puppet''s Web Interface" with Ruby on Rails (ROR). If somebody has setup such show, please share your experiece with EXAMPLES...I''m not the programmer.so please share your STEPS....I have setup the ROR environment, currently learning Rails with different frameworks....HOBO (http://hobocentral.net/) is great for starter and I''m trying to hack it for PuupetShow. ya let''s be "Objective-Oriented" => 1. how to setup PuppetShow? (other than http://git.reductivelabs.com/cgi-bin/gitweb.cgi/puppetshow), download the code, how to implement at m...
2009 Nov 13
3
Encoding::UTF_8 missing?
...`run_callbacks'' /Library/Ruby/Gems/1.8/gems/activerecord-2.3.4/lib/active_record/validations.rb:1098:in `valid_without_callbacks?'' /Library/Ruby/Gems/1.8/gems/activerecord-2.3.4/lib/active_record/callbacks.rb:315:in `valid_without_lifecycles?'' /Library/Ruby/Gems/1.8/gems/hobo-0.8.10/lib/hobo/lifecycles.rb:67:in `valid?'' /Library/Ruby/Gems/1.8/gems/activerecord-2.3.4/lib/active_record/validations.rb:1077:in `save_without_dirty'' /Library/Ruby/Gems/1.8/gems/activerecord-2.3.4/lib/active_record/dirty.rb:79:in `save_without_transactions'' /Library/R...
2018 Jun 07
2
dovecot-pigeonhole Missing sieve_imapsieve Plugin?
...wd } protocol lmtp { mail_plugins = " sieve" } protocol lda { mail_plugins = " sieve" } protocol imap { mail_plugins = " imap_sieve" } ------------- Thanks for any guidance here. -- @sadsfae // gpg: A31F27E0 // irc: sadsfae come have a squat at https://hobo.house
2013 May 17
5
Active Admin with Ajax call
Hello everyone. I''m begining with Ruby on Rails, and i''m facing some trouble with "ActiveAdmin with ajax." Here''s the situation: It''s a Kennel''s web site, so, while i''m creating a new dog, i have one select/options for the dog''s father, dog''s mother, and dog''s race. After select the dog''s
2007 Sep 29
2
Typo3 5.0 Framework
Hi guys, for about one and half a year I am involved in RoR Development. I like the framework very much! But more and more I have my doubts, that this framework will succeed, I think Ruby on Rails succeed only, if some powers from community will be concentrated on a target-oriented development of the Framework. Since the approach of a pragmatic way of programming isn''t new anymore, more
2007 Jun 21
0
Testing a Rails plugin
Hi OK it looks like I''m a convert to BDD :-) Well in principle at least - let''s see how it turns out. I''ve just set up a test environment for the Hobo plugin according to this guide: http://www.pluginaweek.org/2006/11/24/plugin-tip-of-the-week- testing-your-plugins-the-right-way/ And then adapted the setup to work with RSpec In the plugin I now have: /spec /spec/unit -- all my specs are here in a hierarchy that mirrors my plugin&...
2010 May 18
0
Pat Shaughnessy's Paperclit problem
...e pictures in database. When I set :storage => :database in the avatar I get an error when starting server: C:/Ruby/lib/ruby/gems/1.8/gems/paperclip-2.2.6/lib/Paperclip.rb:301:in `[]'': Symbol as array index (TypeError) Had anyone this problem before? My system: Ruby 1.8.7 Rails 2.3.5 Hobo 1.0.0 Paperclip 2.2.6 (Pat Shaughnessy''s) Win XP -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from...
2018 Jun 07
0
dovecot-pigeonhole Missing sieve_imapsieve Plugin?
...;} >protocol lda { > mail_plugins = " sieve" >} >protocol imap { > mail_plugins = " imap_sieve" >} > >------------- > >Thanks for any guidance here. > > >-- >@sadsfae // gpg: A31F27E0 // irc: sadsfae >come have a squat at https://hobo.house -- Christian Kivalo
2008 May 20
2
rspec fails at first run -- no such file to load -- spec/rails
Hi, I newly downloaded rspec, rspec_on_rails and ran the command ruby script/generate rspec from the instructions http://rspec.info/documentation/rails/install.html I then created the directories in spec: controllers, fixtures, helpers, models, views I then created the file spec/models/user_spec.rb as a spec for my model User. (Is the convention to name the model''s spec
2010 Dec 08
1
Help on install act_as_ferret on windows XP
...-rails (0.3.2) culerity (0.2.12, 0.2.10) database_cleaner (0.5.2) datanoise-actionwebservice (2.3.2) diff-lcs (1.1.2) erubis (2.6.6) factory_girl (1.3.2) ferret (0.11.5 mswin32) ffi (0.6.3 x86-mingw32) friendly_id (3.0.6) gemcutter (0.6.1) geokit (1.5.0) gherkin (2.1.5 i386-mingw32) heroku (1.9.13) hobo (1.0.1) hobofields (1.0.1) hobosupport (1.0.1) hoe (2.6.1) i18n (0.4.2) json_pure (1.4.6, 1.4.5) launchy (0.3.7) mail (2.2.9) mime-types (1.16) mysql (2.8.1 x86-mingw32) nokogiri (1.4.3.1 x86-mingw32) pg (0.9.0 x86-mingw32) polyglot (0.3.1) rack (1.2.1, 1.1.0) rack-mount (0.6.13) rack-test (0.5.4)...
2006 Nov 28
8
how to update index from a script
Hello all, I''m using AAF right now to index my ~3million db records. However, any additions to these records are added to the database through an external script so the aaf activerecord hooks will not catch any updates. Since new records are only added rarely, I figured I could just add the new records manually in ferret from some type of script. I''ve been looking at the
2003 May 15
9
big file server
Hi I plan to set up a big file server, something like motherboard with 4 ide ports and an additional 4 ide daughter card, a PIV proc and 512 or 1024 MB ram, a 100 or 1000 MB NIC, with 6 or 7 200 GB ide HDDs in a sigle box. I don't need lightning performance, just disk space. Of course this would be served by some linux os and samba questions (relative to samba configuration and behaviour) :