Displaying 20 results from an estimated 10000 matches similar to: "Streamlined/ActiveScaffold don't support has_many :through?"
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
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
2010 Sep 22
8
ActiveScaffold and partials
I was thinking of doing partials as I did in the simple Rails
application I worked on today.
But, since I''m using ActiveScaffold, I didn''t find any *.html.erb in the
views folder of the Rails application that I need to make my partials!
How can I work with partials in ActiveScaffold?
Thanks.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you
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?
2006 Jul 10
7
What is has_many :through really buying you over HABTM?
So having just learned how to do has_many :through as opposed to HABTM,
and then, being concerned that I wouldn''t get it to work, I started
thinking about these two approaches.
It seems to me that the _only_ problem that the HM:T (has_many :through)
approach solves that HABTM doesn''t is the issue of the potential
collision of id columns between your join table and one of
2006 Jun 26
3
Streamlined
I was looking at Justin Gehtland''s blog. There are instructions on
getting started with Streamlined, however gems returned an error that
streamlined was not in the repository.
I guess Justin is putting the preparations down ?
Stuart
2006 Jul 10
4
HABTM vs. using has_many :through
All,
I''ve heard recently about has_many :through as a necessary alternative
to HABTM (when the join table has it''s own id column, say, in a legacy
schema). However, is the prevailing Rails wisdom now that one should
use has_many :through in _all_ cases?
If so, why?
Thanks,
Wes
--
Posted via http://www.ruby-forum.com/.
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
2006 Jul 10
10
has_many :through and foreign key parameters
I just took my HABTM and turned it into a :through since my join table
has another "non-joiny" attribute.
I went from this:
has_many_and_belongs_to :jobs, :join_table => ''tablename'',
:foreign_key => ''x'',
:association_foreign_key => ''y''
to this:
has_many :jobs, :through =>
2006 Jul 11
4
checkboxes with a has_many :through relation
All,
I''m populating a view with checkboxes in a list. I want to be able to
assign to my has_many relationship using the post values of these
checkboxes. Essentially, I want to populate the relationship table
which will create the correct join values in my model.
Here is my check_box_tag code:
<%= check_box_tag("@current_job[target_list_ids][]",
2007 May 23
10
Modifying Conditions for has_many at runtime in controller?
I am attempting to bring Rails into my company, and so far I have been
able to impress the senior managers with the flexibility /
configurability of Rails on ActiveScaffold. I have hit a point now
where I am stumped, and would really appreciate the help of the
community.
I have a Person ActiveRecord model that has_many Orders.
class Person < ActiveRecord::Base
has_many :orders
end
I am
2007 Feb 21
4
Scaffolding plugins that support relationships. . .?
Hi All,
I''m looking for a quality scaffolding plugin. So far I''ve discovered
DryScaffolding and Streamlined. DryScaffolding doesn''t truly support
Rails 1.2.2 so I dropped that. Streamlined works, but is full of
quirks (e.g. many-to-many relationships not cascade updating
correctly, etc). Can anyone suggest a quality scaffolding plugin/
generator/framework that
2006 May 08
1
Addressing attribute of object specified by has_many fails
I have two model objects, Document and Images. Here are the relevant
declarations:
class Document < ActiveRecord::Base
has_many :images
class Image < ActiveRecord::Base
belongs_to :document
The database tables exist and foreign keys are set up correctly.
In my controller, on an initial request, calling @document.images
(nothing in it yet) is fine.
However, after I attempt to
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 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/.
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"
2011 Jan 15
3
has_many :through with Single Table inheritance
I have the following model structure setup.
class User < ActiveRecord::Base
end
class Parent < User
has_many :relationships
has_many :children,
:class_name => "Student",
:through => :relationships,
:conditions => "related_as = ''parent''"
end
class Student < User
has_many :relationships
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)