Displaying 20 results from an estimated 900 matches similar to: "email signup/splash page"
2006 Feb 01
3
Testing components
I''m using template components to modularize an application I''m working
on and am really happy with the way it''s going. Unfortunately, all my
attempts at writing functional tests for them fail. Trying to duplicate
my normal controller tests I have:
require File.dirname(__FILE__) + ''/../test_helper''
require File.dirname(__FILE__) +
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 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 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 Feb 08
2
URL rewriting
Here is the scenario I am trying to achieve. Basically, I want to run
the action "show" from my controller, without adding the "show/id".
Standard:
http://www.domain.com/controllerName/show/id
I would like:
http://www.domain.com/controllerName/randomstring (where randomstring is
a
field in my model/table, that is equivalent to a GUID -> and unique).
I''m confused
2006 Apr 20
4
Many to Many Category structure with itself
Basically, I''m trying to have a table called "categories" have a many to
many relationship with itself. But I also want each catagory to be able
to be "copied" into another category so it is essentially a child
category to more than one parent. To me the obvious way of doing this is
by creating another table called category_maps (and a model called
CategoryMap).
2006 Jan 18
2
1.2 in production w/100+ phones?
Is anybody using 1.2 (or 1.2.1) in a production network using Realtime
(voicemail, sip or extensions) with 100+ SIP phones? If so, what are
your experiences? We've been running 1.0.3 for about a year and it's
been rock-solid. We'd like to upgrade to Realtime and 1.2, but I'm
afraid of killing our stability. Obviously, we'd do it in stages
(upgrade to 1.2, then realtime
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 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 Feb 07
5
homepage instead of welcome page?
Got a noob question for ya...
When I visit http://localhost:3000/
I get the nice "Welcome to rails" page. To get to a controller I have to
go to:
http://localhost:3000/controllername
What if I don''t want the welcome message and want / to resolve to a
controller?
How do I set that up?
Thanks,
Dave
--
Posted via http://www.ruby-forum.com/.
2006 Sep 03
4
Mongrel 0.3.13.4 Pre-Release -- Docs and more Docs
Hi Everyone,
Just want to get out another ping on the Mongrel pre-release saga. I''ve
updated a bunch of the documentation to include documents people have
donated and to beef up the FAQ for most of the questions people have
asked over the past month.
INSTALL
gem install mongrel --source=http://mongrel.rubyforge.org/releases/
CHANGES
* Fixed memory leak by switching to Sync rather
2005 Jan 28
16
primary_key_prefix_type, support for non-integer primary keys
Hello!
I''m just starting out with Rails--and Ruby itself for that matter--and
have a couple of questions regarding primary_key_prefix_type and
non-integer primary keys.
I see in the ActiveRecord documentation [1] that by default the primary
key of a table "foo" is expected to be "id", though
primary_key_prefix_type this can be changed to :table_name or
2006 Mar 29
4
Scaffold generator: create vs. new
Can anyone supply me with a simple, succinct explanation of what the
difference is between the "new" controller and the "create" controller
that the scaffold generator produces?
I run:
> script/generate scaffold modelname controllername
And now I need to do some work inside the controllername.rb file. For
example, pulling a list from another database table to supply
2015 May 25
2
[LLVMdev] GC Statepoint Transition Status?
Hi,
I am looking to utilize LLVM as the backend in an existing compiler for a garbage collected language, and have a question regarding the current and future support for precise GC in LLVM.
It appears that gc.root is being phased out, with with breaking changes such as this: http://reviews.llvm.org/D7004 <http://reviews.llvm.org/D7004>
Does this mean that gc.statepoint is ready for
2006 Jun 17
4
Simple tutorial weirdness
Sorry - working on a simple tutorial but something is throwing me
here. I''m supposed to get a Time.now() print to the page but it''s not
working and I can''t figure out why.
No errors are thrown my the page shows:
Howdy, world! My name is Stuart Felenstein.
This was verified at .
So no time stamp showing. I went into IRB , did a Time.now() and it''s
working
2006 Jan 04
4
HOWTO: Render partial in div
Hey-
I''m using ROR 1.0 and script.aculo.us 1.5.1. I''ve been trying
unsuccessfully to render a partial in a DIV, but can''t seem to get the
right combination of stuff to make it work. There seems to be a few
different ways of going about it. Right now I can render a partial.
What do I need to to render the partial in a div? Here is what it
looks like so far:
#
2004 Oct 01
14
wxruby-swig on Windows & possible release
I''m trying to build wxruby-swig on windows with the idea of building a
windows installer for it. I think that this would go a long way toward
encouraging windows developers to try out wxruby-swig. What do you think?
Are we far enough along to contemplate a release?
Building wxruby-swig on windows is actually going pretty smoothly, but I
want to build it with vc++ 7.1 to match the
2006 Jan 08
4
Rails table pluralizing Issue
Hi,
I am working on a table with name "addresses". However when I do a
ruby script/generate scaffold Address, I am not able to access
http://localhost:3000/addresses. I am getting the following error.
uninitialized constant Addres
This error occured while loading the following files:
addres.rb
How do I resolve this issue.
Thanks
Silvy MAthews
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
2008 Jan 18
8
link_to problem
hi @ all
I create a new archiv.html.erb and a archiv method in the controller.
Now, I would like to link from index.html.erb to archiv.html.erb. I
tried to use <%= link_to ''archive'', archiv_xxx_path %> but it doesn''t
run.
It appears a error message "SyntaxError in xxx#index".
Does anyone know, how I can enhance this problem?
thanks a lot...
--
Posted