Why do you need it in the view? You shoule be able to do it in a helper.
There are explainations on the wiki for overriding field values in your helper
and you can specify different methods for create or update
Sent from my Verizon Wireless BlackBerry
-Original Message-
From: Richard
I didn't think there was either, I just wanted to check with other people that
have done more with the locale stuff before I pushed up the changes
Sent from my Verizon Wireless BlackBerry
-Original Message-
From: mrbana...@googlemail.com mrbana...@googlemail.com
Date: Wed, 9 Jun 2010
I'm pretty sure you do this:
def cli_outs_show_column(campaign)
Cool
end
Sent from my Verizon Wireless BlackBerry
-Original Message-
From: Iñaki Baz Castillo i...@aliax.net
Date: Fri, 28 May 2010 18:43:44
To: activescaffold@googlegroups.com
Subject: How to override a column value just
Always show create is used for cases in which people want the create form to
always be displayed, and is set to false by default. There might be a better
way to do this, and I'm doing this from memory so it might not be completely
correct, but in your contoller put a before filter
I don't think this is a bug. The functionality that you are requesting would be
a feature.
Is there documentation somewhere that says the options should work with an
array?
Sent from my Verizon Wireless BlackBerry
-Original Message-
From: Iñaki Baz Castillo i...@aliax.net
Date: Fri,
No worries. If you want to make it work with an array or someone else does then
I'm sure the patch would be accepted.
~Kenny
Sent from my Verizon Wireless BlackBerry
-Original Message-
From: Iñaki Baz Castillo i...@aliax.net
Date: Fri, 14 May 2010 17:27:12
To:
I don't know the exact syntax off the top of my head. I'm fairly certain you
can specify how many years or at least the starting year in the options,
something like this
config.create.columns[:birth_date].options = {:start_year = 1900}
I know this has been addressed previously on the group so
I think all you need to do for #1 is config.actions.exclude = [:create,
:update, :delete]
This syntax should be on the wiki
http://github.com/activescaffold/active_scaffold then click wiki
Do you want something to replace the ad existing? Do you just want to disable
tht column?
Sent from my
I'll shoot out an email when I get to it, what blog are you talking about?
Sent from my Verizon Wireless BlackBerry
-Original Message-
From: octimizer octimi...@gmail.com
Date: Fri, 12 Feb 2010 10:02:52
To: ActiveScaffold : Ruby on Rails pluginactivescaffold@googlegroups.com
Subject: Re:
Can you describe your problem with a little more detail?
Sent from my Verizon Wireless BlackBerry
-Original Message-
From: Brian Cardarella bcardare...@gmail.com
Date: Wed, 10 Feb 2010 13:26:09
To: ActiveScaffold : Ruby on Rails pluginactivescaffold@googlegroups.com
Subject: Active link
I could be wrong but I think they addressed the routes overhead issue some in
rails 3
Sent from my Verizon Wireless BlackBerry
-Original Message-
From: Nick Rogers ncrog...@gmail.com
Date: Wed, 10 Feb 2010 16:14:16
To: activescaffold@googlegroups.com
Subject: Re: ActiveScaffold Rails 3
I misunderstood you, I can try to help you tomorrow, if you don't figure it out
shoot me or the list another email in the morning
Sent from my Verizon Wireless BlackBerry
-Original Message-
From: Brian Cardarella bcardare...@gmail.com
Date: Wed, 10 Feb 2010 20:49:22
To: ActiveScaffold :
can you paste the entire users_controller please?
On Tue, Feb 2, 2010 at 10:43 AM, Soren Christensen so...@silikone.comwrote:
Noted that there was some problem with my config.columns
They looked like this:
config.columns.exclude :updated_at, :created_at
config.create.columns =
in there to support the
restful_authentication plugin etc.
They are likely all just the standard stuff. Let me know if we want those
too.
/S
Kenny Ortmann wrote:
can you paste the entire users_controller please?
On Tue, Feb 2, 2010 at 10:43 AM, Soren Christensen so...@silikone.comwrote:
Noted
in ActiveScaffold.
If AS depends upon my route then it might be useless for what I'm
doing.
- Brian
On Feb 1, 12:24 pm, Kenny Ortmann kenny.ortm...@gmail.com wrote:
Well it depends... Active scaffold does some nice things for you out of
the
box...
for instance
If you
So you have an accounts page.
subscriptions are nested under accounts.
When you open an accounts subscriptions and then create a subscription under
that account, you want to refresh the subscriptions for that account.
is this correct?
On Wed, Jan 27, 2010 at 11:41 AM, George ghf...@gmail.com
or you could use lowpro, http://github.com/danwrong/low-pro/
On Wed, Jan 27, 2010 at 2:56 PM, AJ ONeal coola...@gmail.com wrote:
Any ideas on how to make the javascript run each time the user goes to
a new page?
jQuery BBQ
jQuery Sammy
AJ ONeal
--
You received this message because you
Correct he is MIA.
Sent from my Verizon Wireless BlackBerry
-Original Message-
From: Nick Rogers ncrog...@gmail.com
Date: Sat, 16 Jan 2010 10:14:57
To: activescaffold@googlegroups.com
Subject: Re: ActiveScaffold documentation homepage vs. wiki
On Sat, Jan 16, 2010 at 1:47 AM, johan
For question 1.
Would you mind showing your controller code? The error looks like you are
set something up incorrectly.
When clicking on one of the table headers for resorting I get a
ActiveRecord::RecordNotFound in AutosController#show
Couldn't find Auto with ID=update_table
This error is
I haven't seen any problems with this but I do not do much browsing using an
iPhone. I know some people from my company have looked at websites with
active scaffold before and not had issues but this was a while back.
on line 123 of lib/active_scaffold/actions/core.rb is this
def
you would need to copy the file to app/views/active_scaffold_overrides/
or if you want to override the view for a specific controller you can put
the file in app/views/controller_name/
~kenny
On Fri, Jan 8, 2010 at 2:50 PM, satynos dharamgollap...@gmail.com wrote:
Is there any easier way to
I would try this:
def authorized_for_destroy?
self[:owner_id] == current_user_id
end
notice I also removed the return true and if statement, those aren't
needed. the method will return true or false depending on what that
evaluates to.
I'm not sure if this will work but give it a try.
On
The site has been inactive for a really long time go to
http://github.com/activescaffold/active_scaffold
--Original Message--
From: lyric
To: ActiveScaffold : Ruby on Rails plugin
ReplyTo: activescaffold@googlegroups.com
Subject: Re: Site down
Sent: Dec 3, 2009 11:57 PM
things are still
Do you mean inside of a form or in a list view? You should be able to do this
either way.
--Original Message--
From: PaP
To: ActiveScaffold : Ruby on Rails plugin
ReplyTo: activescaffold@googlegroups.com
Subject: Render HTML inside ActiveScaffold
Sent: Dec 2, 2009 11:26 AM
Hi guys, is
I would reccomend putting debug/print statements inside of your helper method
and see what your @record.purchase_item.quantity attribute contains
--Original Message--
From: Victor
To: ActiveScaffold : Ruby on Rails plugin
ReplyTo: activescaffold@googlegroups.com
Subject: Re: Subform
So you are basically saying if the user has show access then they have update
access as well?
Are you redirecting upon clicking update of the form or upon clicking the
update link?
Sent from my Verizon Wireless BlackBerry
-Original Message-
From: Chris Drappier chris.drapp...@gmail.com
I was just curious. So are you using none ajax links?
What version of render_component are you using?
Sent from my Verizon Wireless BlackBerry
-Original Message-
From: Chris Drappier chris.drapp...@gmail.com
Date: Wed, 2 Dec 2009 12:28:24
To: activescaffold@googlegroups.com
Subject: Re:
Yes one of the problems is with render component. If you go to the github wiki
I believe it suggests using a different one. If it doesn't let me know and I'll
find out which version you should use when I get to a computer
Sent from my Verizon Wireless BlackBerry
-Original Message-
From:
Also there are ways to have the update and create links not show up if the user
isn't authorized. You still need to disallow the actions in the controller, as
you already are, to prevent url hacking but you may want to look at the wiki
and remove the links as well.
Sent from my Verizon Wireless
you want to use this git repository
git://github.com/ewildgoose/render_component.git and you want to use the
rails-2.3 branch
On Wed, Dec 2, 2009 at 1:08 PM, Chris Drappier chris.drapp...@gmail.comwrote:
yeah, i started out using DHH's render component, but that didn't work with
AS, so I
The activescaffold.com website has not been maintained for years. We can't
get access to change it :/
~Kenny
On Tue, Dec 1, 2009 at 8:49 PM, EBIHARA, Yuichiro ebih...@preferred.jpwrote:
Does this help you?
http://wiki.github.com/activescaffold/active_scaffold
I don't know what are
You shouldn't need to change anything to have your admin part work as a
subdomain if you want it to be a completly different application.
If you want documentation look for the active scaffold repo on github and then
go to the wiki section
Sent from my Verizon Wireless BlackBerry
-Original
How many records are you displaying n one page?
Sent from my Verizon Wireless BlackBerry
-Original Message-
From: alexp simon.jacobs@gmail.com
Date: Tue, 29 Sep 2009 19:15:46
To: ActiveScaffold : Ruby on Rails pluginactivescaffold@googlegroups.com
Subject: Re: removing
You should. If you removed default routes then you have to
Sent from my Verizon Wireless BlackBerry
-Original Message-
From: CCH c...@karensoft.com.my
Date: Thu, 20 Aug 2009 20:19:57
To: ActiveScaffold : Ruby on Rails pluginactivescaffold@googlegroups.com
Subject: Re:
I don't believe this functionality exists. I don't use the default date
dropdowns. I override my date form column in the the helper to be a regular
text input field and allow the user to type the date. If you do this the
user can leave the field blank.
~Kenny
On Mon, Aug 17, 2009 at 2:12 PM,
is true.
On Mon, Aug 17, 2009 at 3:28 PM, Kenny Ortmann kenny.ortm...@gmail.comwrote:
I don't believe this functionality exists. I don't use the default date
dropdowns. I override my date form column in the the helper to be a regular
text input field and allow the user to type the date. If you
That would also work. A better approach would be to try and add this in
through the controller.
config.columns[:maturity_date].options = {:html_options = {:include_blank
= true}}
On Mon, Aug 17, 2009 at 2:53 PM, Kerry Foley bonefish.fo...@gmail.comwrote:
I override the form column in the
You should install git and clone the repository on github
Sent from my Verizon Wireless BlackBerry
-Original Message-
From: CCH c...@karensoft.com.my
Date: Sun, 16 Aug 2009 19:55:01
To: ActiveScaffold : Ruby on Rails pluginactivescaffold@googlegroups.com
Subject: Is the svn/trunk the
I've used paperclip with AS but not the polymorph plugin
Sent from my Verizon Wireless BlackBerry
-Original Message-
From: G. Sobrinho gabriel.sobri...@gmail.com
Date: Fri, 14 Aug 2009 11:07:12
To: activescaffoldactivescaffold@googlegroups.com
Subject: Paperclip polymorphic with AS
I do not know the answer to your question, but what are you trying to add?
On Fri, Jul 31, 2009 at 9:04 AM, mrbana...@googlemail.com
mrbana...@googlemail.com wrote:
Hi,
I ve got quite a basic question.
Let s assume I would like to add a new method to an activescaffold
class eg
What exactly are you trying to do?
If you go to an active scaffold controller and in the browser go to the url
and put ?limit=1 at the end does it not limit the list view to 1 item?
On Mon, Jul 27, 2009 at 10:34 AM, Enrico Bianco enri...@gmail.com wrote:
Hi all,
Is there a way to limit the
I understand that. I meant how are you trying to install active scaffold?
unless i'm missing something, if you just pull the codebase down from github
it shouldn't run the install.rb file
On Thu, Jul 23, 2009 at 5:01 PM, James Moore jamesthepi...@gmail.comwrote:
On Jul 23, 2:48 pm,
Where did you get this install file from? The recomended way to obtain
active_scaffold source is from github
Sent from my Verizon Wireless BlackBerry
-Original Message-
From: James Moore jamesthepi...@gmail.com
Date: Thu, 23 Jul 2009 14:45:33
To: ActiveScaffold : Ruby on Rails
what is the error that it gives you when you try to start the server?
On Wed, Jul 22, 2009 at 9:07 AM, mike globallyuni...@gmail.com wrote:
I made a mistake with the cut and past the install command into my
message. There is a blank missing in 'installhttp://', should have
been 'install
'
from script/server:3
On Jul 22, 12:37 pm, Kenny Ortmann kenny.ortm...@gmail.com wrote:
what is the error that it gives you when you try to start the server?
On Wed, Jul 22, 2009 at 9:07 AM, mike globallyuni...@gmail.com wrote:
I made a mistake with the cut and past
just override the method in your contoller
def update
#do whatever you want to do
#if you want to go back to the active scaffold fucntionality you can
if i_want_to_override?
#then override
else
super
end
end
~kenny
On Mon, Jul 13, 2009 at 9:33 AM, JannaB
I'll fix this tomorrow if sergio hasn't gotten to it yet. If I don't reply by
tuesday saying it's fixed shoot another email to remind me.
Sent from my Verizon Wireless BlackBerry
-Original Message-
From: G. Sobrinho gabriel.sobri...@gmail.com
Date: Sun, 12 Jul 2009 18:56:43
To:
to reference the show and have the ability to control what
record is show.
Next step is to apply the privacy rules to the displayed data. I assume
that this can be done with helper methods.
/S
Kenny Ortmann wrote:
You could make a User Controller and use the show method in the user
:36 pm, Kenny Ortmann kenny.ortm...@gmail.com wrote:
Yeah I updated the version for rails-2.1 a second time so if you update
your
codebase again it should work
the line should read
authorized = associated ? associated.authorized_for?(:action =
link.crud_type) : record.authorized_for
The way ActiveScaffold works I don't see any reason for it to check any
other type of action.
All of the things you just listed can be classified as a crud type,
activate - update,
suspend - update,
pdf - read,
review - read,
comment - create,
diggit. - probably create
You can set the crud type
in the controller. That way you also solve a
backward compatibility issue.
On Tue, Jul 7, 2009 at 4:26 PM, ser...@entrecables.com wrote:
On Tue, 7 Jul 2009 14:52:52 -0500, Kenny Ortmann kenny.ortm...@gmail.com
wrote:
The way ActiveScaffold works I don't see any reason for it to check any
other type
it seems that your @channel.urlsuffixtofind is evaluating to nothing so it
is looking for /index.html in the active scaffold views directory
On Mon, Jul 6, 2009 at 10:53 AM, JannaB mistressja...@hotmail.com wrote:
I have a file, /public/test/ggriptest/index.html under my app. I want
to render
Would you paste your controllers code as well please?
On Mon, Jul 6, 2009 at 11:12 AM, redbros david.chin.c...@gmail.com wrote:
Thanks Sergio for jumping in.
I did use set_link like you indicated but got error while rendering
the page. Any ideas?
Showing
:15 am, Kenny Ortmann kenny.ortm...@gmail.com wrote:
Would you paste your controllers code as well please?
On Mon, Jul 6, 2009 at 11:12 AM, redbros david.chin.c...@gmail.com
wrote:
Thanks Sergio for jumping in.
I did use set_link like you indicated but got error while
If you use render :file, the path that it takes is the absolute path from
the file system so it would be expecting c:\\...file or /pathl...file
try just using render :template = a
On Mon, Jul 6, 2009 at 11:36 AM, Kenny Ortmann kenny.ortm...@gmail.comwrote:
Ok, i thought maybe
appreciate it!
On Jul 6, 12:56 pm, Kenny Ortmann kenny.ortm...@gmail.com wrote:
try
config.columns[:name].clear_link
config.columns[:name].set_link 'show', :controller = store
On Mon, Jul 6, 2009 at 12:10 PM, redbros david.chin.c...@gmail.com
wrote:
:( Still the same error.
On Jul
On Jul 6, 2:34 pm, Kenny Ortmann kenny.ortm...@gmail.com wrote:
Can you update your version of active scaffold, I just pused a change
to the
version for rails-2.1
~kenny
On Mon, Jul 6, 2009 at 1:09 PM, redbros david.chin.c...@gmail.com
wrote:
Still getting the error
You can just override the method you need to in the controller. If you alias a
name to go to the show action just override the show action.
Sent from my Verizon Wireless BlackBerry
-Original Message-
From: atmorell atmor...@gmail.com
Date: Tue, 30 Jun 2009 07:25:08
To: ActiveScaffold :
If the interfaces controller is also related to roles or users you will have to
exclude them in that controller as well
Sent from my Verizon Wireless BlackBerry
-Original Message-
From: Kerry bonefish.fo...@gmail.com
Date: Thu, 25 Jun 2009 00:36:40
To: ActiveScaffold : Ruby on Rails
I dont think that it should remove it. Active Scaffold is meant to do
things for you by default. That is why you can override almost everything
that it does for you. If you don't want it to order them alphabetically
then override it
~Kenny
On Thu, Jun 25, 2009 at 12:28 PM, G. Sobrinho
I don't know about putting it into active scaffold. I don't think it would be
hard to write, but I'm on vacation away from a computer until july 6
I think it would be a cool plugin and should be separate.
~kenny
Sent from my Verizon Wireless BlackBerry
-Original Message-
From: JannaB
If the child record is deleted by the user then the association is gone because
the child record no longer exists.
Can you explain what you are trying to do a little more?
Sent from my Verizon Wireless BlackBerry
-Original Message-
From: C F Tong thetony...@gmail.com
Date: Wed, 24 Jun
You need to exclude the roles column and users column from the controller you
are working with.
AS tries to create scaffolds for every model that is related to the model you
are working with. It looks for controllers for these models and then allows
you to create relationships as you are
This isn't something that active scaffold does for you. If you want someone to
do it for you I'm sure someone would be willing to be paid for it.
Sent from my Verizon Wireless BlackBerry
-Original Message-
From: shiju pc shij...@gmail.com
Date: Wed, 24 Jun 2009 10:14:06
To:
I belive active scaffold tries to order by I'd by default so it is adding it.
I would use the config sort that active scaffold provides for you, look at the
list config wiki page for examples
Sent from my Verizon Wireless BlackBerry
-Original Message-
From: G. Sobrinho
Not currently.
I'm thinking this through my head and it seems like it could be hacked together
very simply/quickly, but I'm not sure how efficient it would be.
So the way I would do it,
1. The model/models need to have a last updated at column.
2. Create a controller that returns the most
Try session[:blah] = value.to_date
--Original Message--
From: rvhi
Sender: activescaffold@googlegroups.com
To: ActiveScaffold : Ruby on Rails plugin
ReplyTo: activescaffold@googlegroups.com
Subject: save search conditions in session
Sent: Jun 3, 2009 3:58 AM
Hi,
I try to save search
Yes it makes it not restful.
Sent from my Verizon Wireless BlackBerry
-Original Message-
From: Carl Anderson nexus...@gmail.com
Date: Wed, 3 Jun 2009 07:26:46
To: activescaffold@googlegroups.com
Subject: Re: Anyone having problems sorting tables?
No, I missed that in the wiki. But
you should be able to do this in your controller
config.columns[:column_you_want_bigger].options = {:height = 50}
options takes a hash that represents any html options that you want to
override for that fields input.
On Wed, Jun 3, 2009 at 1:33 PM, harv pharvey.w...@gmail.com wrote:
Hi,
Possible, where are you running the statement?
Sent from my Verizon Wireless BlackBerry
-Original Message-
From: rvhi rzh...@gmail.com
Date: Wed, 3 Jun 2009 15:09:56
To: ActiveScaffold : Ruby on Rails pluginactivescaffold@googlegroups.com
Subject: Re: save search conditions in session
in your controller
def update_table
session[:search] = params[:search] # or whatever value you are trying to
store
super
end
On Wed, Jun 3, 2009 at 7:02 PM, rvhi rzh...@gmail.com wrote:
It is inside condition_for_foo_column() in controller.
On Jun 3, 12:11 pm, kenny.ortm...@gmail.com
when you click the cancel link it fires a javascript method that is located
on line 364 of active_scaffold.js
On Wed, Jun 3, 2009 at 3:51 PM, JannaB mistressja...@hotmail.com wrote:
When I am editing, and I click Cancel (or X-out of the for edit
view) what happens? What gets called? That's
end
On May 29, 7:06 pm, Kenny Ortmann kenny.ortm...@gmail.com wrote:
currently in your controller you have
def create
@associate = Associate.new(params[:associate])
@associate.startdate = Date.today
if @associate.save
flash[:notice] = Registration successful
Can I see your controller and your override?
AS does a lot to make the row collapse happen so I need to see what you are
doing to tell you where to start.
Kenny
On Thu, May 28, 2009 at 8:05 AM, JannaB mistressja...@hotmail.com wrote:
I have one model (of many in a rails app that invoke AS)
I'm assuming you have 2 records on this list view?
On Thu, May 28, 2009 at 1:31 PM, Carl nexus...@gmail.com wrote:
I figured out a little more about my problem with authorize for action
but I'm not sure why this is happening. It seems that 2 calls are made
to render each object, one with
in this case). On another page
I have 4 records from Universe_id 1 and each of those groups shows up
twice for each record, but of course they both have univserse_id 1.
Carl
On Thu, May 28, 2009 at 11:34 AM, Kenny Ortmann kenny.ortm...@gmail.com
wrote:
I'm assuming you have 2 records on this list
You can exclude these columns everywhere. Look at the wiki for core overrides
Sent from my Verizon Wireless BlackBerry
-Original Message-
From: suranyami david.pa...@suranyami.com
Date: Tue, 26 May 2009 23:29:30
To: ActiveScaffold : Ruby on Rails pluginactivescaffold@googlegroups.com
class ApplicationController ActionController::Base
ActiveScaffold.set_defaults do |config|
config.columns.exclude :created_at, :updated_at, :audits
end
end
On Wed, May 27, 2009 at 6:48 AM, kenny.ortm...@gmail.com wrote:
You can exclude these columns everywhere. Look at the wiki for
ed did you ever see this version?
http://github.com/ewildgoose/render_component/tree/master
He fixed the issues with flash not carrying over
On Wed, May 27, 2009 at 5:27 AM, Ed W li...@wildgooses.com wrote:
naaano wrote:
ok, last commit made it work, thanks Ed!!!
in your controller create a private method
private
def userlimits
@userlimits ||= current_user.userlimits.find(:first, :conditions =
universe_id =#{self.universe_id}).rights
end
this will cache your userlimits for the user and you will only make the
database call once. or you could go as far
Just a heads up, removing render component from nested scaffolds is in the
works so once that happens you may need to change the way you are doing
this, or better case scenario is that it will just work and pass the params
correctly without you having to do anything.
On Wed, May 27, 2009 at 9:43
with the 4
other models that implement the code.
Carl
On Wed, May 27, 2009 at 9:16 AM, Kenny Ortmann kenny.ortm...@gmail.com
wrote:
in your controller create a private method
private
def userlimits
@userlimits ||= current_user.userlimits.find(:first, :conditions =
universe_id
Did you have any questions here or were you just giving an example of what
you are doing?
On Thu, May 21, 2009 at 9:49 AM, JannaB mistressja...@hotmail.com wrote:
I am using AuthLogic and ActiveScaffold together in a Rails App.
Essentailly, through AuthLogic (using Railscast 167 tutorial) I
disregard that message i missed the pictures.
On Thu, May 21, 2009 at 10:57 AM, Kenny Ortmann kenny.ortm...@gmail.comwrote:
Did you have any questions here or were you just giving an example of what
you are doing?
On Thu, May 21, 2009 at 9:49 AM, JannaB mistressja...@hotmail.com wrote:
I
What version of rails/active scaffold are you using?
On Thu, May 21, 2009 at 10:47 AM, Soren so...@silikone.com wrote:
Suddenly I get this error:
Processing StudentController#show_search (for 192.168.0.216 at
2009-05-21 08:41:23) [GET]
Parameters: {eid=92a90c6d5b93d6eac1a8d335c2940dc3,
then -- for edit and new, for this table only.
I shold rephrase my question thus: How can I specify a separate layout
for the form view than for the list view? Thanks! Janna
On May 21, 12:07 pm, Kenny Ortmann kenny.ortm...@gmail.com wrote:
in your controller you are overriding the new, create
- If we want to render for the final user view we want to render with a
custom template
- But sometimes we want to render the same action and get a raw version with
the default template
This really already happens. if the list action was of format js it
responds with layout = false, if it is of
you should use the wiki on github instead of the wiki on the activescaffold
site,
http://wiki.github.com/activescaffold/active_scaffold
On Wed, May 20, 2009 at 10:26 AM, simon manin.i...@gmail.com wrote:
I found it already on
its not :use_state, its :usa_state.
This was not working before I just committed a patch that will allow you to
use form_ui = :usa_state without using a helper.
Active scaffold doesn't support a form_ui type of :date_select. if you look
here in the form_ui section you will see all of the
Thank you for the second version down there. Our flash message have also
been boofed, but we thought it was a problem with rails. Are your embedded
scaffolds still working with the second fork?
On Tue, May 19, 2009 at 6:27 PM, Tim Uckun timuc...@gmail.com wrote:
When I upgraded to rails 2.3 I
I got your images. Are you overriding any of the views by any chance?
On Thu, May 14, 2009 at 5:29 AM, Sergio Cambra .:: entreCables S.L. ::.
ser...@entrecables.com wrote:
On Jueves, 14 de Mayo de 2009 03:51:42 Kenny Ortmann escribió:
For render component, you need to use
http
usa_state not use_state
On Thu, May 14, 2009 at 8:18 AM, JannaB mistressja...@hotmail.com wrote:
Somewhere in the docs I encountered:
In addition to the :checkbox option, ActiveScaffold supports these
other options: :calendar, :country, :password, :textarea,
and :use_state.
I've been
an a-element (of a foreign-key) into a plain
string.
-b
Kenny Ortmann wrote:
you don't want to override the foreign-key
in your controllers helper do
def dept_column(record)
# display whatever you want here
record.dept.name
end
On Wed, May 13, 2009 at 6:30 PM
, no? -Janna B.
On May 14, 10:30 am, Kenny Ortmann kenny.ortm...@gmail.com wrote:
usa_state not use_state
On Thu, May 14, 2009 at 8:18 AM, JannaB mistressja...@hotmail.com
wrote:
Somewhere in the docs I encountered:
In addition to the :checkbox option, ActiveScaffold supports
, Kenny Ortmann kenny.ortm...@gmail.com wrote:
remove the method from your helper class.
when you say config.columns[:state].form_ui = :usa_state, active
scaffold
will automatically make the column a USA state select box.
If you still need to override this then in your helper you would
The problem with this is that from a users point of view it may not seem
silly to have a link to the parent and grandparent.
So from an active scaffold point of view, when you click on the parent link
you get a scaffold view for the child-parent relationship. If you click on
grandparent you
The rjs files in active scaffold are all very straight forward, if you look
at them you should be able to understand that they are doing.
They are mainly just in control of updating the page after an action, for
instance, the on_create.js.rjs will replace replace the create form with a
new one if
Try config.list.label = States
On Wed, May 13, 2009 at 2:52 PM, bornboulde...@gmail.com
bornboulde...@gmail.com wrote:
People,
I'm setting up a new site.
I bumped into a silly problem with config.label.
Here is my controller:
class Asa::DevicetypeStatesController
http://wiki.github.com/activescaffold/active_scaffold/per-request-configuration
in your controller you need to do
before_filter :update_table_config
def update_table_config
if current_user.admin # or whatever
active_scaffold_config.actions.add :list
else
For render component, you need to use
http://github.com/lackac/render_component/tree/master
do you have any more information about the rjs errors in IE8 and chrome
1.0.54 and Safari?
On Wed, May 13, 2009 at 12:38 PM, Soren so...@silikone.com wrote:
Hi,
Create and delete causes RJS errors in
1 - 100 of 203 matches
Mail list logo