search for: active_scaffold

Displaying 20 results from an estimated 24 matches for "active_scaffold".

2009 Jul 30
8
Rails 2.3.x and active_scaffold Installation
Hi, I have upgraded to rails 2.3 and active_scaffold plugin is not working. when i run this command it creates a active_sacaffold folder in vendor/ plugins, but its an empty folder. I googled but found no way to install it. Please help!!!!!
2009 Jan 17
2
active_scaffold + i18n
Hello all, I have a project where I''m using active_scaffold and would also like to use i18n over it. While the i18n works fine if I just ignore the active_scaffold, I couldn''t get it running with it. I searched through its docs and googled quite a bit. Can I use i18n with active_scaffold? thanks cheers -- gallois aka Felipe Gallois blog: www.g...
2009 Sep 29
0
Problem with RESTful resource and ActiveScaffold
Hello everyone, I am trying to use a RESTful controller for user inside a namespace using AS and one outside for registration and so on. When i try to visit the namespaced url I get Unknown action. Once i replace active_scaffold :users with a def index; end i can the URL. My routes look like: map.register "register", :controller => "users", :action => "create" map.resources :users map.resources :user_sessions # Sample resource route within a namespace: map.namespace :admin do...
2008 Jan 06
8
n00b question/issue
i know this is n00b but i have searched and i can not figure it out. i am running instantrails on windows. i downloaded ajax_scaffold and installed using script/generate in a new rails project. after configing the db i can the following error when trying to access http://localhost:3001/invoices/list (invoices is the controller/table i built ajax_scaffold on)... NameError in
2007 Aug 10
0
rspec and active_scaffold
Hi, Anyone here have a link or tips for a complete spec for a dead simple active_scaffold controller, including its internal calls stubbed out which we could use as a starting point? thanks. linoj
2009 May 22
1
rails 2.3.2, active scaffold, nested, ActionView::TemplateError (undefined method `format_column' for #<ActionView::Base:
...since I have no idea where to go from here...) Has anyone been succcessful with 2.3.2, AS, and nested scaffolds? I have the latest of AS and the render_component plugin via % script/plugin install --force git://github.com/lackac/render_component.git -r rails-edge I have an AS user_controller: active_scaffold :user do |config| ... config.nested.add_link("Portfolios",[:portfolios]) end But when I click on the Portfolios link I get: ActionView::TemplateError (undefined method `format_column'' for #<ActionView::Base:0xb67cee38>) on line #28 of vendor/plugins/ active_scaff...
2007 Jun 27
1
Active Scaffold controllers created dynamically at runtime?
Does anyone know how to link Rails'' routes into anonymous controller classes created at runtime (defined with their superclass as ActionController::Base)? I''m trying to create a plugin for all of my projects that dynamically creates an active_scaffold controller for each model. It would essentially be like a scaffold_all_models for active_scaffold. I believe the original scaffold extensions mix in functionality to ActionController::Base, whereas active_scaffold (greedily) requires a separate controller for each model it scaffolds... hence my att...
2009 Nov 09
1
Active Scaffold Performance
...takes 8+ seconds to load. I tried monitoring the application on new_relic and found out that my view takes up for nearly 90% of the load time. Furthermore, I have ran ruby-prof on one of the slower transactions and found out that 65% of the transaction was from the method ''render_without_active_scaffold'' which is part of the active_scaffold plugin. I suspect the fact that the transaction calls ''render :partial'' 45 times doesn''t help much, but the application is pretty complex, and those 45 partial renderings are quite necessary. I''ve searched on googl...
2008 Feb 06
1
RSpec 1.1.3 + ZenTest 3.9.1 + Rails 1.2.6 do NOT ignore folders ^vendor/*
...otest does not ignore the vendor folder, the migrations, etc ...: Dunno! vendor/plugins/acts_as_solr/solr/lib/jetty-util-6.1.3.jar Dunno! vendor/rails/activerecord/lib/active_record/associations/has_many_through_association.rb Dunno! vendor/rails/actionpack/lib/action_view.rb Dunno! vendor/plugins/active_scaffold/test/extensions/array.rb Dunno! vendor/plugins/active_scaffold/lib/extensions/nil_id_in_url_params.rb Dunno! config/amazon_s3.yml Dunno! vendor/rails/actionpack/lib/action_controller/base.rb Dunno! vendor/plugins/acts_as_solr/lib/solr/response/base.rb Dunno! vendor/plugins/rake_tasks/init.rb Dunno!...
2009 Mar 23
2
Select updates database?
...has_and_belongs_to_many :industries, :join_table => "grant_loans_industry", :foreign_key => "grant_loans_id", :association_foreign_key => "industry_id" belongs_to :state My Controller: before_filter :login_required layout "admin" active_scaffold :grant_loan do |config| config.list.columns = [:agency, :gov_type, :title, :url] config.columns.exclude :state_name config.label = ''Grants and Loans'' columns[:state].form_ui = :select columns[:industries].form_ui = :select end Partial: <%= select :gra...
2009 Jun 22
3
puppetshow
...version of puppetshow? git clone git://reductivelabs.com/puppetshow is terribly slow if working at all ..... I tried http://github.com/shadoi/puppetshow/tree/master version but I can not make it work When I go to http://localhost:3000 I get: NoMethodError in Hosts#table Showing vendor/plugins/active_scaffold/frontends/default/views/ _list_header.rhtml where line #3 raised: undefined method `[]'' for #<Enumerable::Enumerator:0xb716d700> Extracted source (around line #3): 1: <% if active_scaffold_config.action_links.any? { |link| link.type == :table } -%> 2: <div class="a...
2008 Feb 01
1
Rails routing and active scaffold fight to the death
...oller#index (for 127.0.0.1 at 2008-02-01 14:54:00) [GET] [2008-02-01 14:54:00] (552) INFO Session ID: a8eeb58764d872bbd1fdb337636e68e7 [2008-02-01 14:54:00] (552) INFO Parameters: {} [2008-02-01 14:54:00] (552) FATAL ActionController::RoutingError (no route found to match "/javascripts/ active_scaffold/default/" with {:method=>:get}): C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/ action_controller/routing.rb:1292:in `recognize_path'' C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/ action_controller/routing.rb:1282:in `recognize'&...
2010 Jul 27
13
3.0.0rc ActionController::RoutingError No route matches
Have been developing on 3.0.0beta4 and just updated to 3.0.0.rc. When I try to link_to() a User object that previously had worked, I get the following: ActionView::Template::Error (No route matches {:action=>"destroy", :controller=>"games", :id=>#<User ..... > Yet I have in my routes.rb file has resources :users and my "rake routes" shows:
2008 Jun 21
0
Git and script/plugin; How I pass the PATH variable?
RoR People, I''m trying to use script/plugin and git. I see this error: mac2:/pt/webprops/mmhq/mm12/mymoney maco$ ruby script/plugin install git://github.com/activescaffold/active_scaffold.git removing: /pt/webprops/mmhq/mm12/mymoney/vendor/plugins/active_scaffold/.git sh: line 1: git: command not found mac2:/pt/webprops/mmhq/mm12/mymoney maco$ mac2:/pt/webprops/mmhq/mm12/mymoney maco$ How do I pass the PATH environment variable to script/plugin? I want script/plugin to find my cop...
2009 May 21
1
How to install ActiveScaffold plugin?
I am upgrading to raills 2.3.2. I’m having problems with AjaxScaffold which has been deprecated. I am a linux novice. The web site http://activescaffold.com/ has the following command: script/plugin install git://github.com/activescaffold/active_scaffold.git I tried the above and also ruby script/plugin … Nothing happens. Any ideas?
2007 Oct 29
2
UI drop down list pulled from database values in activescaffold
as i''m finding it difficult to override the form Ui elements using activescaffold -= i''m looking for a help to build a drop down list in UI (values pulled from databse through SQL query) and so user can select these valus while submitting to database. pls provide any example strictly using activescaffold plugin. thanks selvan-kalaiselvan
2008 Oct 08
0
undefined method add called for ActsAsFerret::Remote::Server
...elp me. I am using active scaffold for my object. And my sample code is as follows class Object < ActiveRecord::Base validates_presence_of :title, :message => "required" #searchable fields acts_as_ferret end class Admin::ObjectsController < Admin::BaseController active_scaffold :object do |config| # config.columns = :title, :content config.columns = :title, :content config.list.columns = :created_at, :title config.create.columns = :title, :content config.update.columns = :title,:content # config.columns.content end end I attachment has the info...
2010 Jun 26
1
Ajax Form with Multipart File Upload in Rails 3.0
How would I achieve this? In Rails 2.x, I would use responds_to_parent, but it seems quite unsupported now. What plugins/gems do people use nowadays that would automate 1) targeting form to iframe 2) sending javascript to iframe 3) having the javascript execute another javascript on parent page Thank you, Sharkie -- Posted via http://www.ruby-forum.com/. -- You received this message because
2012 Apr 02
0
uninitialized constant UserController
..._required def admin_login_required if @current_user.admin return true end redirect_to :controller => "/" return false end end also, ''controllers/admin/user_controller.rb'' class Admin::UserController < Admin::AdminApplicationController active_scaffold :user end I am guessing that the problem is routes.rb, which is Takibou::Application.routes.draw do devise_for :users resources :projects root :to => ''projects#index'' match '':controller(/:action(/:id))(.:format)'' scope ''admin''...
2013 Oct 07
0
ruby script/plugin install ...
I am trying to migrate a rails app from the rails 2.x world (which was the last time I worked with rails) and I''m trying to run the command: ruby script/plugin install git://github.com/activescaffold/active_scaffold.git --force which returns: /home/user/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:53:in `require'': cannot load such file -- script/../config/boot (LoadError) from /home/user/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/c...