search for: akitaonrail

Displaying 7 results from an estimated 7 matches for "akitaonrail".

Did you mean: akitaonrails
2008 Feb 25
1
So, how to learn 2.0
Web developer for many years, but haven''t given rails a spin yet. Can someone point me towards the best tutorial to get up and running in 2.0? --~--~---------~--~----~------------~-------~--~----~ 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
2009 Dec 10
2
How to customize the default scaffold?
...affold: 1) Change the layout from blah.html.erb to application.html.erb, and delete blah.html.erb (errr, well, I copy the first one over, change the heading, and then delete it.) 2) Change the new and edit templates to render a common partial (a la Akita on Rails'' excellent article http://akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial) I suppose I could write my own scaffold generator (copying most of it from the existing scaffold generator). Or I could modify the existing scaffold generator to allow for user defined enhancements, and possibly even do so in such a...
2007 Dec 28
1
Nested resources form_for problem
Hi, I have a resource map like this: map.resources :users do |user| user.resource :sreg10record end So a User is supposed to have (at most) one Sreg10record. The problem is in the views. I tried following this tutorial: http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial which proposes something like: <% form_for( [@user, @sreg10record] ) do |f| %> However, doing that yields "undefined method `has_key?'' for #<Sreg10record:0xb6f47bc4>". So I tried <% form_for( [:user,...
2008 Jul 26
4
Mongrel on Ruby 1.8.6 w/ patchlevel 279 (Win)
...Results logged to C:/ruby18/nclude-dependencies/gems/fastthread-1.0.1/ext/fastth read/gem_make.out Even dowloading an older version, i get the same error: C:\ruby18>gem install mongrel -v''=1.1.4'' I made a ''manual'' instalation (http://feeds.feedburner.com/~r/AkitaOnRails/~3/341683066/testing-the-new-one-click-ruby-installer-for-windows). Any help is welcome. -- Posted via http://www.ruby-forum.com/.
2008 Sep 11
1
(Gem::RemoteFetcher::FetchError) can't get connected to the net!
Hello everyone, I recently picked up the Agile web dev with Rail book and followed the installation instructions for Windows using InstantRails... well it works up until the point i try to...... ''gem update rails --include-dependencies'' ..... i end up with the following error message: pdating installed gems... ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
2008 Jan 29
4
map.resources for controllers in a module
Hello- I''m giving RESTful development a shot. I''m running into some difficulty with controller I have grouped into modules. Specifically, I have a "admin" module with a "user" controller (created with "generate controller admin/user"). I managed to get map.resources wired up with this code: map.resources Admin::User, :path_prefix =>
2008 Feb 22
7
undefined local variable or method "acts_as_list"?
Hi, I''m getting the error below, and I''m not sure where to find "acts_as_list" ... NameError in SpecialsController#printer undefined local variable or method `acts_as_list'' for #<Class: 0xb7a46994> RAILS_ROOT: /usr/local/apache2/htdocs/dps Application Trace | Framework Trace | Full Trace vendor/plugins/trunk/lib/scope_out.rb:70:in