Displaying 3 results from an estimated 3 matches for "add_admin".
2012 May 14
1
undefined method `parse' for String:Class
Hi,
I use a script called : add_admin.rake
When i execute this : ''rake -s -f Rakefile mailserv:add_admin --trace
i have this error :
** Invoke mailserv:add_admin (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute mailserv:add_admin
rake aborted!
undefined method `parse'' for String:Class...
2006 Aug 09
0
admin.create error in devel. console
...t; @a = Admin.create :fullname => "Zack", :email => "zack@xxxxxx.com", :capabilities => {"member_info" => "1", "close_xxxxxx"=>"1", "add_xxxxxx"=>"1", "purchase_info"=>"1", "add_admins"=>"1"}, :agreement => "1"
=> #<Admin:0xb79488f4 @errors=#<ActiveRecord::Errors:0xb79386d4
@base=#<Admin:0xb79488f4 ...>, @errors={}>,
@new_record_before_save=true,
@attributes={"capabilities"=>{"member_info"=>"1&quo...
2005 Dec 15
2
field update not happneing
...have a js function defined in my header:
function flash(msg){
$(''flash_msg'').value = msg;
alert(msg); // for debugging
...
}
This is being called like so:
<%= form_remote_tag(
:update => ''admins'',
:url => { :action => ''add_admin'', :params => {:id => @place.id} },
:complete => "flash(''passes msg''); = \$(''add_field'').value = '''';"
)
%>
When I hit ''Add'' the correct div is updated, I see the alert (saying
"pas...