Displaying 20 results from an estimated 100000 matches similar to: "crazy AS question"
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
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 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
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
2008 Feb 01
1
Rails routing and active scaffold fight to the death
Just kidding, it''s not as bad as it seems. Right now I don''t have
much in my route.rb, and I''m getting this in my console:
Processing ApplicationController#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)
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/.
2007 Aug 22
1
Interface for administration
Hi *, I need to choose a platform for building the administrative
part of http://www.zooppa.com
Actually I like both streamlined and activescaffold, they seem both
good.
I''d like to ask to people using it which one is more likely to manage
correctly things like validations, polymorphic associations, STI and
in general complex data.
If it''s also easy to modify it would
2008 Jan 23
1
Self-referential HABTM SQL mal-formed when updating record
Guys,
Anyone ever had this kind of problem with ActiveScaffold?
Cheers, Sazima
------------------------------------------------------------------------------------------------
What steps will reproduce the problem?
1. Create self-referential HABTM application (like the common "user
has friends" example)
2. Try to add more than 1 friend to a given user using ActiveScaffold.
What is
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/.
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
2009 Oct 11
6
A simple editable grid for Rails
Hi All,
I''ve been posting some queries about an editable grid but did not get
any response.
I''ve started writing my own - http://github.com/ckkashyap/rails_editable_grid
I''d appreciate it very much if someone could comment on it!
--
Regards,
Kashyap
2009 Mar 13
1
Something crazy with rake test
Rake plugin tests are not run anymore (rake 0.8.4 or 0.8.3) !
rails foo
cd foo
script/generate plugin bar
cd vendor/plugins/bar
rake test
No test is run, no output of the usual number of assertions, number of
tests...
rake output is
(in /usr/local/www/foo/vendor/plugins/bar)
/usr/bin/ruby -I"/usr/local/www/foo/vendor/plugins/bar/lib"
2008 Apr 04
8
Updatable "datagrid" with ajax support? Is there any code/approach I can leverage?
Hi,
I want to have a page in my Ruby on Rails application that is like a
dynamic / updateable data grid. Like a matrix or spreadsheet segment
(x rows, y columns) which one can click in any of the cells and make
an update, which triggers some AJAX code to fire off the update, and
then the responses come back and update whatever else needs updating
based on this change.
Is there a prototype
2008 Apr 17
4
acts_as_paranoid is making me crazy
Acts_as_paranoid is giving me a headache when performing migrations.
For some reason when I perform a migration I get a "stack level too
deep" error. If I comment out the database inserts that are performed
(countries, regions, and a base admin) it works well. Even after
minimizing the data that is inserted on the migration to one record it
still throws the same error.
When running
2008 Feb 28
2
random exception driving me crazy: SecurityError (Insecure: can't modify array)
Hi all, I''m running into a very strange but incredibly annoying
problem that I just can''t seem to solve.
The exception is occurring from a seemingly innocuous line in my code,
a simple ''logger.warn("some debug information")''. The backtrace
follows:
SecurityError (Insecure: can''t modify array)
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 May 02
0
Selected value in a combobox
I''m using ActiveScaffold.
In the file house_helper.rb I have written the code:
def house_form_column(record, input_name)
...
list = House.find(:all, :include => ''city'')
new_list=...
...
list do |element|
if record = element.name
selec=element.id
end
end
select_tag ''X'',options_for_select(new_list, selected=selec),
2007 Jun 16
0
Working Background Task Progress Bars
I posted this on the active scaffold group. But it might be of
interest to a wider community.
I just got the monitoring of many background tasks with independent
progress bars working with ActiveScaffold. Looks good and is quite
usable.
You can see the screencast and short (abridged) tutorial on how I did
it at:
http://www.blognow.com.au/q
or:
2007 Aug 23
0
active scaffold polymorphic model
Hi
I am trying to use active scaffold to build a polymorphic model .
I have a number of models that can be featured and I have a Feature model
that belongs_to :item, :polymorphic => true
In my config.columns I include :item_type and item_id, I also added
:item_name to show the name of the record in the form.
In the form, when a type of model is selected I populate the select box for
2007 Nov 19
0
does anyone how to customize search query>?
i wanted to customise the defaulte search to have my own fileds -
based on teh user selecting the fields the query should dynamically
pick up and return search. i need this to be done in ActiveScaffold
plugin.
does any one know how to do this and share sample code?
--selvan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google