similar to: ActiveScaffold and partials

Displaying 20 results from an estimated 1000 matches similar to: "ActiveScaffold and partials"

2010 Sep 15
5
Hide an image in show.html.erb
I have the following "show.html.erb" script, and I get as an output TWO images since I use a method to draw an image. How can I HIDE the RESOURCE image? Thanks. Here is the script: <canvas id="line" height="512" width="512"> </canvas> <p id="notice"><%= notice %></p> <p> <b> Name </b> <%=
2010 Jul 19
6
Setting a root_url
I know how to setup a roo_url using map.root in "routes.rb". The issue I''m currently having is as follows: I walking through this Rails cast regarding Authlogic: http://railscasts.com/episodes/160-authlogic I decided that I make my map.root the "login" page, that is, the index.html.erb of the user_sessions_controller. So, what I did is typed the following in the
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
2010 Oct 01
20
Paperclip not executing FFMPEG properly
Im using a customs processor to run ffmpeg on a video to create a thumbnail. So far so good. Except when I do: cmd = "-i #{@file.path} -f flv -s 320x240 ~/Downloads/foobar/q.flv" success = Paperclip.run(''ffmpeg'', cmd) Console is reporting: ffmpeg ''-i /var/folders/uL/uL0bYOOZEZaJH5E+BmDJVE+++TI/-Tmp-/stream, 16824,1.mpeg -f flv -s 320x240
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 07
1
Streamlined/ActiveScaffold don't support has_many :through?
All, I hear tell that neither Streamlined nor ActiveScaffold support the use of has_many :through relationships in the sense that HM:T relationships will effectively be read-only in those frameworks. Does anyone know why this is? I assume that it has something to do with the way that the relationships are introspected on? Thanks, Wes -- Posted via http://www.ruby-forum.com/.
2012 Jul 19
5
ActiveScaffold Export file - Send as Email
I am using Rails 1.2.3 and Active scaffold 1.1.1 My requirement is to send the export of users data weekly to the admin as email via cron. How can i automate the process of exporting csv and storing it at a place? So that i can pick it from there and attach to the email before sending? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the
2008 Apr 20
1
how to select "no date" in activeScaffold
HI, I have a date column which is not mandatory. How can I get it so activeScaffold offer the ability to select no date (i.e. nil or null type thing)? Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to
2010 Jun 14
2
stylesheet_link_tag
I know that the following statement loads the scaffold stylesheet, but what exactly does stylesheet_link_tag do here? <%= stylesheet_link_tag ''scaffold'' %> Thanks. -- Posted via http://www.ruby-forum.com/. -- 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
2010 Sep 21
25
Working in install acts_as_commentable, On create, error: "unknown attribute: book_id"
Hello, I''m working to install the acts_as_commentable plugin on my Rails 3 app. After adding "acts_as_commentable" to my book model, I then added a comment form on my book show view: <% form_for(@comment) do|f| %> <%= f.hidden_field :book_id %> <%= f.label :comment %><br /> <%= f.text_area :comment %> <%= f.submit "Post
2010 Sep 08
5
Adding a selected checkbox to a new nested model without polluting the model
Context: I have a GoodsReturn model with many ReturnedItem. For the new view, I create a new GoodsReturn with many new ReturnedItems from a sale (and its SoldItems). Problem: I want to have a Add/Selected checkbox with which the user can pick the items he wants to return. I know I could use a ''selected'' virtual attribute but I don''t want to pollute my model just for
2008 Apr 17
0
Having problem with validates_presence_of fields in form when trying to also use ActiveScaffold (x-posted at ActiveScaffold group)
I have an events listing site that includes the models Event and DateAndTime, so an event that happens more than once (like a high school play) can have more than one date_and_time. The Event model has_many date_and_times, and the DateAndTime model belongs_to event. The Event model validates_presence_of two submission form variables, the_date and the_time, and those variable values then get used
2010 Nov 30
2
Did I miss a meeting?!
I''ve just stumbled (literally, while I was trying to fix a glitch I was having after upgrading Aegis...) on the Inherited Resources gem... why did no-one tell me?! ;-) Is everyone else using some form of controller base-class? Am I the last on this bus! https://github.com/josevalim/inherited_resources -- You received this message because you are subscribed to the Google Groups
2007 May 11
0
ActiveScaffold Released
I''m happy to announce that we released ActiveScaffold 1.0 today after 8 months of hard work on the plugin. In addition to announcing our launch, I did a writeup on where the project is going next (hint: think semantic) which I''d love to have some feedback on: http://activescaffold.com/2007/5/10/activescaffold-goes-gold-1-0-released Thanks and let us know if there''s
2008 May 02
0
Getting a dynamic selected field from an activescaffold...?
Hi there. I need to get a specific field from a activescaffold object. The specific field must be editable, and must de available to be set to a new value, thus the object.send(:field) will not work, since it only gets the value, but does not enable reasigning a new value to the field. Is theer a way to do this? -- Posted via http://www.ruby-forum.com/.
2011 Aug 05
2
Scatter plot in R
Hi, I have 334 records, with two columns: Column (1): Resolution Column (2): Number of images with a specific resolution How can I make a scatter plot in R with this data? Is there a way to *import * the records, since it will be time consuming to enter 334 records? Thanks. [[alternative HTML version deleted]]
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
2008 Nov 05
2
AJAX - REST & nested resources
I''ve created a set of resources, with scaffolds that all work. I then changed one resource to be nested inside another as a one to many relation. This required a little bit of work on the tests, the controllers and the views but it all works. Now I want to go the extra step and have the child resources become updateable inside the parent form. I''ve pushed the formatting of the
2007 Oct 19
1
ActiveScaffold many to many relationships
Hi there, when I create active scaffolding in a many to many relationship, I would like that my create/delete actions in the nested scaffold would actually erase one relationship between the two tables or create a new link between the two tables, and not delete the record itself in one table or create a new record of one of the two tables involved. Is this possible with Active Scaffold? Thank
2011 Aug 09
0
ActiveScaffold - custom show action
Hi all, I''ve added custom show action (as an action link - I want to use default one too). Everything renders well, but I''m missing a "Close" ([x]) button. So, I copied AS'' default _show.rhtml template and edited it a bit (just added custom output and removed label). However, when I click at "Close" I get error output: You have a nil object when you