Displaying 20 results from an estimated 2000 matches similar to: "flash not clearing after display"
2006 Mar 07
5
subversion help!
I created a subversion repository on my new vps and i''m trying to setup my
rails app there. However i keep getting this error:
subversion/libsvn_subr/io.c:2516: (apr_err=13)
svn: Can''t create directory ''/home/svnadmin/rapleaf/db/transactions/0-1.txn'':
Permission denied
How do i fix this? I know others have had this before, so i would
appreciate some help.
2006 Aug 08
8
executing external code
I''m trying to run some non-ruby code in my rails app and i''m not sure
how to do this. The code i have would take a really long time to port
to ruby and so i''d rather run it as is (its php). What i would like
to have happen is that the code can be invoked as an ajax call. And
just return some data in JSON.
I keep running into a routing failure by actioncontroller and
2006 Apr 09
4
submitting forms help
I cant seem to figure this problem out and i was hoping someone could help
me out.
I have a page with a list of forms. I would like the user to be able to
submit each form individually, or submit them all at once, to a different
action (bascially, one that will do batch processing of all the forms).
Is this possble? Please help.
-------------- next part --------------
An HTML attachment was
2006 Mar 08
3
migrations schema_info table, Rails Recipes Bug?
I have the rails recipes book and i was going through the migrations
recipe. Everything seemed to work except for the last part in trying to do
a rake migrate with a migration file version 1 and the schema_info version
set to 0. Without the force attribute, the rake migration fails, as
expected.
So the recipe says to run this:
ruby script/runner
2006 Mar 04
12
cross domain ajax
I''m trying to implement a cross domain solution for my rails app. I want
people to be able to fill out a form on their site and the data will be
passed back to my site through ajax, and their site gets updated. I''m
looking for the best way to implement this. I would like to use a JSON
approach like yahoo does, but i''m not sure if it will work.
Though the form is
2006 Mar 13
9
apache 1 fastcgi config correct???
I followed this tutorial on the rails wiki about how to get apache with
fastcgi working on a vps machine:
http://wiki.rubyonrails.com/rails/pages/HowtoInstallAndRunRubyOnRailsOnCpanel
In the tutorial it said to add this to the httpd.conf file to get fastcgi
working.
<IfModule mod_fastcgi.c>
FastCgiIpcDir /tmp/fcgi_ipc/
AddHandler fastcgi-script .fcgi
</IfModule>
However
2006 Apr 24
12
setup a staging site?
Hi, i''m wondering how to setup a staging site for my RoR app. Right now i
run webrick on my laptop to develop, then i svn commit my changes to the
production server. However i need to make my development environment
available to others and not just for me on my laptop.
I have RoR setup on a hosted vps server which runs in production
environment. Its on apache 1.3 and mysql. How can i
2006 Mar 08
3
email signup/splash page
Does anyone know the easiest way to put up a splash page where people can
add their email addresses to be notified when the site is ready? I want
regular visitors to be directed to this page. How can i have this and still
be able to test/develop the site?
I know a lot of web apps do this while still developing, so i''m looking for
a solution that i''m sure exists, but i cant
2006 Mar 04
4
Two quick newbie questions
2 quick questions regarding authentication ...
1) the flash[:notice] on successful login looks completely wrong to me.
How should it be done?
def index
if request.post?
@user = User.new(params[:user])
authentic_user = @user.attempt_login
if authentic_user
session[:user_id] = authentic_user.id
flash[:notice] =
''Login successful! Welcome
2006 Apr 14
2
Rails AWS authentication????
I want to setup an api for my web app, but i had a few question on the best
way to do this. I was hoping for some input from you experienced
individuals and rails rock stars.
1) Is there a way to implement a login in feature so that api methods cant
be called without proper authorization? This is so i can log activity and
use of the api from different people and so
-------------- next part
2006 Apr 10
6
detecting browser type?
I''m wondering how i can detect the browser type for the client. I know this
is possible, but i cant seem to find how to do this, nor any example code
for this.
I would appreciate if someone could point me to some info or just give me an
explanation.
thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Apr 26
2
application failed to start for subdomain
I recently setup a subdomain to run my app as a staging site before pushing
changes to the main site. So i setup a subdomain in cpanel, symlinked that
the directory to point to a staging directory where i check''d out my rails
app.
However, when i go to staging.railsapp.com, it times out and says
application failed to start properly.
I''m not sure what is causing this, but
2006 Mar 21
1
image verification
Does anyone know how to add image verification for forms? I cant seem to
find any information about how to do this.
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060321/b3db745a/attachment.html
2006 Mar 31
1
url_for leave out ''index'' action
I''m trying to reduce the size of urls in my app and i was wondering how i
can get all links to an index action to leave out the ''index''. In my
routes.rb, i have it setup to recognize the controller and default to the
index action.
But is there a way to make it so that the ''index'' portion in the url is not
shown to the user? This is mostly a concern
2006 Apr 28
1
object passing for distributed model
I''m still fairly novice when it comes to rails so i was hoping someone here
could shed some light on the correct way to do things.
I have a central object that has :has_many relationships with 5 other
objects. So i have one table, foo, and 5 other tables have foo_id to
associate each row with a foo object.
Now, i have a page that renders all the "foo" associations. I chose
2006 May 03
1
fastcgi help!!!
Something really weird happened with my app recently and i''m lost on what
exactly happened.
I have a bunch of validations setup in my models to ensure that no records
have identical columns within a certain date range. So user x can only post
a blog entry to blog y once a month (example).
However, i saw that this validation failed on script that posts a bunch of
entries all by the same
2006 Mar 06
6
rails app in professional development environment
I''ve been working on my rails app which will be a web app that i want to
launch as a business. Being new to rails i''m wondering what professional
web app developers do for their development environment. Right now i''m
developing and testing on my laptop. I think i''ve gotten far enough along
where i want to put it up on a hosting machine to develop further,
2011 Jan 26
3
You cannot save facts to the code store; it is only used for getting facts from Facter
I have successfully updated puppet clients from my master using the
built-in WEBrick server. When I updated my setup to using
Apache2+passenger, my clients get this error message:
err: Could not retrieve catalog from remote server: Error 400 on
SERVER: You cannot save facts to the code store; it is only used for
getting facts from Facter
warning: Not using cache on failed catalog
err: Could not
2005 Jan 12
4
Is this a $50 wifi or wireless USB VOIP phone ?
http://www.pcphoneline.com/skype
"The VPT1000 is NOT a simple last generation USB phone audio device but
is rather a next generation integrated gateway and USB phoneset with
simultaneous dual mode Skype and SIP calling support. Skype is not
forecast to have "SkypeIn" available until June 2005 but you can have
the capability now via its built in SIP capabilities."
Is this a
2006 Mar 14
7
Application error (Rails)
After I attempted to add ActionMailer functionality, it gave the
"Application error (Rails)" and now, everything on my site works, except
for the part where the Actionmailer ''would have'' sent the email.
I took that out now, re-uploaded the file, and ran "killall -USR1
dispatch.fcgi" and still nothing. Everything else works, except that.
Any idea what