similar to: Rails AJAX scaffold generator question: organization

Displaying 20 results from an estimated 8000 matches similar to: "Rails AJAX scaffold generator question: organization"

2006 Jun 29
0
Ajax Scaffold for a application started using win32-process module.
Hi, I have an RoR application(parent) which is use to kick off other RoR applications(ajax scaffold based). I use win32-process Open4.popen4() to start the RoR applications. Untill recently I was using normal scaffold feature of Rails, and recently I migrated to Ajax Scaffold; After moving on to Ajax scaffold, when I try to start a RoR from my parent RoR, the application do get started, when I
2006 Jul 28
4
ajax scaffold
someone using ajax scaffold ?? I''m using @scaffold_columns = [ AjaxScaffold::ScaffoldColumn.new(self, { :name => "name" }) ] in my model... I have a column named "name", but it''s not working, When I click in "Create New" ajax indicator starts but not occurs . . . someone can help me? tks
2006 Apr 07
1
Help... Ajax scaffold problems
Hi all, Any help is appreciated. I used the ajax scaffold generator to make 3 scaffoldings. Then I put them together as components in a combined layout and created a master controller, which happens to be named "dataentry''. That works fine. Within each of the components, I was able to set up links that paginate and update the div (for the component) with correctly paginated
2006 Jun 02
0
Trying to use Ajax scaffold throws up odd behaviour
|Interesting... On a new project with a fresh database just created, I downloaded the smooth-loking Ajax Scaffold generator and tried it out on a ''pages'' table: C:\radrails\project>ruby script\generate ajax_scaffold Page PageAdmin (I''m using Windows.) After it calmed down I tried to access my shiny new admin page, but I got this:| ----- NameError in
2006 Mar 01
0
TextHelpers in Controller?
I have a controller that saves info to the DB. It''s based on the AJAX scaffolding code. All I want to do is add a simple_format() function to it before I save a user-edited text field to the DB. TO convert line returns to <br>s, etc. @project_note = ProjectNote.new(params[:project_note]) @project_note.body = simple_format(@project_note.body) Since this happens in a controller,
2006 Mar 03
0
AR::Base.pluralize_table_names doesnt work with scaffold generator, right?
Hi! The script/generator scaffold for models doesnt respect (source in) this config/environment.rb setup, right? Because I can put in there ActiveRecord::Base.pluralize_table_names = false but when I run a command like ruby script/generate scaffold model Something then it throws an error saying that my database scheme doesnt have a Something. However there is a table called something. If I
2010 Aug 06
0
adding options to erb scaffold generator to include or skip custom views / templates
created a small patch.. looking for feedback / etc.. https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/5319-adding-options-to-erb-scaffold-generator-to-include-or-skip-custom-views-templates#ticket-5319-2 When I was working on customizing the erb scaffold generator to match the style and design I wanted to use by creating custom templates in / lib/templates/erb/scaffold I found
2008 Jan 18
1
Announcing: Ext Scaffold Generator Plugin for Rails
The Ext Scaffold Generator Plugin can be viewed as a drop-in replacement for Rails'' standard Resource Generator. Accepting the very same options, it will generate views using data grid and form components from the Ext JS Javascript GUI framework as well as a controller acting as an Ext-compatible JSON web service. The generated code can be used as a starting point for further
2006 Jul 10
0
ajax scaffold problem
Hi, I am using ajax_scaffold to generate against a model backed by atable on SQLServer... It creates all the stuff, and I can list the items in my table... But, the "Edit" and "Create New" buttons dont work... The strange thing is that the problem occurs when I edit the ajax_scaffold generated controller with before_filter/set_charset... I try to set the charset of pages
2006 Jun 29
0
Ajax scaffold and SQL Server
I noticed the comment thread on this: http://ajaxscaffold.16bugs.com/bugs/show/1435 indicated that the issue lies within the sqlserver adapter and that it will be ''left up to them'' to fix. Who is them and is anyone authoring the fix? -th Tim Heuer phone (602) 405-4567 | messenger tim@timheuer.com <mailto:tim@timheuer.com> | blog: http://timheuer.com/blog/
2006 May 15
1
Ajax Scaffold is htmlescaping "&" in url''s
Seems like I have a problem with html escaping of "&" in my url''s. "Create New" have following link: http://localhost:3000/stylesheets/new?scaffold_id=stylesheet&amp;page=1&amp;sort_direction=asc Any ideas how I can fix this? Using: ajax_scaffold_generator (3.1.2) & rails (1.1.2) Regards Henrik
2006 Feb 25
31
Ajax Scaffold Generator for Rails Released
I just released a whole new version of the Ajax Scaffold Generator (for Ruby on Rails). The generator creates a scaffold page like the typical rails one, except adding, editing and deleting are all done inline. The generated scaffold is valid XHTML strict and fully styled right out of the box. Check out the demo: http://ajaxscaffold.height1percent.com/ And the how-to:
2006 Mar 29
4
Scaffold generator: create vs. new
Can anyone supply me with a simple, succinct explanation of what the difference is between the "new" controller and the "create" controller that the scaffold generator produces? I run: > script/generate scaffold modelname controllername And now I need to do some work inside the controllername.rb file. For example, pulling a list from another database table to supply
2006 Apr 12
8
Ajax Scaffold 3.0.0 released
Hey everyone, I just put up the 3.0.0 release notes. The major changes in this release are: * Everything has been converted to work with the newly released (Rails 1.1+) RJS templates * Sorting and Pagination have been added. http://www.height1percent.com/articles/2006/04/12/ajaxscaffold-3-0-0-released Thanks and enjoy. Rich -- Posted via http://www.ruby-forum.com/.
2011 Apr 29
1
Custom controller for scaffold generator
Hi, i put my customized controller in lib/templates/scaffold_controller/controller.rb for using in scaffold generation. The problem is that the original controller template is used! Where do i put my custom controller template? Or maybe is this a bug? I''m using Rails v. 3.0.7 (Ruby 1.9.2p180) Thanks in advance, ciao iwan -- Posted via http://www.ruby-forum.com/. -- You received
2005 Mar 18
0
scaffold generator, pluralization and tutorials
Hi All the tutorials call their controllers ''TodoController''[1] or ''RecipeController''[2] (singular), but "script/generate scaffold Recipe" for example generates a ''RecipesController'' (in recipes_controller.rb) As I''m rather new to RoR I don''t know if that convention changed, I read something about it here:
2006 Mar 24
6
login forms , redirect_to and ajax-scaffold problems
Hi, I have a standard type authentication technique direct from AWDWR, so there is a before_filter :authorize_employee, :except => :login in my employees_controller.rb the authorize_employee is in application.rb def authorize_employee unless session[:employee_id] flash[:notice] = "Please log in" # save the URL the user requested so we can hop
2013 Apr 15
4
Rails' scaffold controller generator - should it test json format also?
(Forgive me if this is incorrect, because I recognized this initially as something in Rails 4.0.0.beta1 and have just done a cursory look over the latest generator code.) Noticed in Rails 4 that the test generated for a scaffold controller only tests the html format instead of both html and json:
2006 Feb 24
4
Rails Newbie Forum?
Hi all. I''m a new convert (or at least I want to be a convert) to Rails. I''ve got the book, have read it, done bits and pieces of the demo, and tried to apply it to a rather complicated DB I''ve got here. I''ve got a ton of questions, and before I bore everyone here, is there a dedicated forum for Rails newbies to get help? Yak -- Posted via
2006 Jan 18
3
Documentation for scaffold / views
Apparently a scaffold creates at least one instance variable for views to use, and if I override the scaffold then I must also explicitly create that instance variable for the view. I''d like to know exactly what work is performed by the scaffold so that I can know this when over-riding the view. (OR, is it that the controller makes these variables available by default?..) EXAMPLE: