similar to: scaffolding issue - new action defaults to list action

Displaying 20 results from an estimated 10000 matches similar to: "scaffolding issue - new action defaults to list action"

2007 Jan 05
0
web service scaffolding: array and 2d array params
Hello, Currently when you build a web service with ActionWebService, you can generate a scaffold (using a command like "web_service_scaffold :invoke") that will allow you to call your web-enabled methods from the browser. Currently, if any of those parameters are arrays, you get the message "Typed array input fields not supported yet", and you can''t enter the
2006 Mar 24
1
AJAX & Posting Reccomendation
I''m currently developing a photo gallery website with Rails. Each photo can be commented upon. What I''d like to do is, once the user posts a comment, use AJAX to submit the comment and then automatically update the page with the comment the user just submitted. I also don''t want to use Prototype or the built in AJAX that comes with Rails... it''s too fat
2007 Aug 21
0
2 commits - test/trace
test/trace/propflags-5.swf |binary test/trace/propflags-5.swf.trace | 20 +- test/trace/propflags-6.swf |binary test/trace/propflags-6.swf.trace | 20 +- test/trace/propflags-7.swf |binary test/trace/propflags-7.swf.trace | 19 +- test/trace/propflags.as | 6 test/trace/trace_properties.as | 304 ++++++++++++++++++++++++++++++--------- 8 files changed,
2005 Mar 19
2
routing problem 1.8.2/0.10.1/webrick?
I seem to have come to a strange problem getting started on rails. I had everything working in a virtual machine and then set up a seperate machine just for rails developement. It now seems something is broken a little. ruby 1.8.2, rails 0.10.1, postgres, using webrick: i created a table "users", then "generate scaffold User" view localhost/users works fine, shows the
2006 Jul 23
4
ActionWebServices
Is there a problem with Direct Web Services on Windoze? A routing error occurs with simple controller/api configs as described in the AWDwR text. route.rb has a wsdl route, but I would like to scaffold it to render either wsdl or ws functions from localhost:3000/ctrlr/invoke or localhost:3000/ctrlr/wsdl. -- Posted via http://www.ruby-forum.com/.
2005 Nov 30
2
Missing scaffold features
Hello everyone, First off, I''m trying to generate a discussion here, not provoke an argument or get people upset. Please bear this in mind if/as you read on... To my mind, there''s 3 missing features from scaffolds that would make them a whole lot more useful. These are: - auto-generation of a drop-down list for inputting/updating has_many/belongs_to relationships between
2008 May 04
1
scaffolding with namespace
Hi, is there a way to scaffold with namespace? I''d like to generate a Posts model with namespace admin. But using script/generate scaffold admin/post title:string the migration would generate a table "admin_posts". So I did now script/generate scaffold post title:string moved the controller, views manually to admin/... and had to change each link manually from (e.g.)
2006 Aug 06
4
DRY Scaffolds
I''ve got 8 scaffolds, each one can be considered an ''item'', such as a blog, photo, etc. Using login_engine and user_engine, I list all blogs belonging to a user by saying: @user=session[:user] @blogs=@user.blogs.find(:all) but then let''s say I want to create an option where I want to slice it differently: @user=session[:user] if @someOption ==1
2006 Aug 13
5
Newbie question: scaffold not working
I went through a tutorial at http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html?page=1 to get started with RoR. I really like the idea of the scaffold construct, but I can''t seem to get it to work the way it was described in the tutorial. I''ve got a mysql database that is properly configured, and a table called ''quotes'' with a column called
2007 Apr 18
1
Scaffolding Specs
I just wrote a really simple tool that cranks out spec scaffolds for Rails apps. It''s new and pretty simple, but you might find it useful: http://calicowebdev.com/blog/show/13 --steve
2006 Aug 14
2
Another try with REST
I''m using edge rails. My routes.rb is: map.connect '':controller/service.wsdl'', :action => ''wsdl'' # Install the default route as the lowest priority. map.connect '':controller/:action/:id'' map.resources :team <---- THIS LINE ADDED BY ME Also have a team_controller.rb, a team.rb model and scaffolding for it. If I
2006 Jul 16
2
Can scaffold do tall tables instead of wide?
I''m trying to get data in rows instead of columns by default. The default scaffold behavior is to create an initial table layout with column headers along the top. In some cases this creates really wide tables which require horizontal scrolling. Is there a parameter I can use with scaffolding or a hack to get the header cells along the left side of the table instead? I''m
2006 Apr 07
0
Dynamic Scaffolding vs. ScaffoldGenerator
I asked this question before, but didn''t get any response. I hope someone can give me some clue now. Here''s the background, I upgraded to rails 1.1 and suddenly I was getting strange failures in my functional tests. I traced the problem to dynamic scaffolding. I had overwritten all of scaffold''s methods in my controller (all but show and destroy). Destroy no
2005 Mar 02
0
Re: AWS Client Usage
On Wed, 2 Mar 2005 11:51:51 -0600, Chris Brinker <chris.brinker-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > I was talking on #rubyonrails some more and they seem to think that > the model classes have to be copy and pasted/available to the > ruby:client, in addition to the api. I find this advice a little odd > considering .Net and apparently ColdfusionMX need no such
2006 Feb 13
0
using Scaffolding Extensions plugin
After I downloaded this plugin, I am not sure how to use it. According the doc: Generally, the scaffolding extensions are used in same way as the normal scaffolding. Inside a controller, run the command: scaffold :album But I tried to run scaffold :control_name, (I have table in the database) in the app/controller, the system says " scaffold: command not found" Suggestion? Thanks in
2006 Aug 02
0
Updating scaffolding to better fit Resources
Now that were designing are controllers to just be CRUD, scaffolding makes a lot of sense (DHH must of had this planed from the beginning). The current scaffolding should be modified to better fit Resources. Scaffolding doesn''t need to be redone, it just needs a few tweaks. I''ve already started converting the scaffold method. I made a plugin, but it still needs some work.
2006 Jun 26
5
Multiple choice questions scaffold?
Hello all, I''m in my second day of working through the various Ruby on Rails tutorials, I''m already hugely impressed by the potential speed of developing database driven sites, especially via the use of scaffolds. Which brings me on to my first question (apologies if it''s a simple one, but like I said it is only my second day!) I am aiming to develop an application
2006 Feb 26
0
error Before updating scaffolding?
Hello all, I am a bit hung up. I have created a simple table (pluralized) named aircrews and I have edited my database.yml file to point to the database that I created and that is holding the table aircrews. I have gone through the depot tutorial in the Agile book and when I have run the scaffolding command for the depot app all has worked fine for the table products. Now when I run the ruby
2008 Sep 02
6
Scaffolding
Hello everyone, Does scaffold still work in the new rails 2.0? Thank you, --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to
2006 Aug 13
0
Problem generating scaffold using modules
I am trying to create an Admin module that has multiple controllers. For each of the controllers, I would like to use scaffolding to generate the initial models, views, and controllers. I created the admin controller using "generate controller Admin index". This created app/controllers/admin_controller.rb and app/views/admin/index.rhtml. When I point my browser to localhost/admin,