Displaying 20 results from an estimated 28 matches for "rbpark".
Did you mean:
park
2005 Mar 06
3
permission error in rake''s clone_structure_to_test
...otal db noob, what do i have to change to fix this permissions
issue? Using psql, this is what users exist:
=> \du
List of database users
User name | User ID | Attributes
-----------+---------+----------------------------
postgres | 1 | superuser, create database
rbpark | 100 | create database
(2 rows)
(I''m trying to connect with "rbpark" user).
Any help is appreciated.
--
One Guy With A Camera
http://rbpark.ath.cx
2005 Mar 04
24
Rails speed?
Hi --
(First time posting to the list...)
I''m trying out Rails on my Mac (OS X Panther, 1.6 G5). It seems...
kinda slow? I''ve even run it with FastCGI and the response time is
still painfully slow.
Is this just me? Is mod_ruby any better than FastCGI? Or is it rails?
Thanks in advance!
-- joshua
2005 Mar 06
3
question about testing
...ning here is that I''m simply asserting the redirection 7 times
for the destroy action, not asserting the redirection once for each
action. What is the proper way to iterate over the "process" methods
and apply the same assertion to each?
Thanks.
--
One Guy With A Camera
http://rbpark.ath.cx
2005 Mar 05
1
problems with authentication -- restrict certain actions to certain users
...o register an account and log in, you also have to be
logged in as user id "1" (eg, just me). Ideally users with other id
#''s would be displayed a pretty (using my existing layout) error
message if they attempt to access certain actions.
Thanks.
--
One Guy With A Camera
http://rbpark.ath.cx
2005 Mar 09
16
rails on low memory vps
Anyone got any tips for running Rails (w/ either webrick or
lighttpd/fcgi) on a VPS with a pretty small amount of memory (like
64MB memory and 64MB swap).
Thanks,
Joe
2005 Feb 26
2
Any documentation for routes?
...r => ''photos'', :action => ''view''
Gave me this error:
NameError in <controller not set>#<action not set>
Which I assume means that rails did not pick up on my route at all.
Thanks for any help you can give.
--
One Guy With A Camera
http://rbpark.ath.cx
2006 May 11
2
Unit tests fail with sqlite3 and rails 1.1
Hello all,
I''m kinda going through a rocky upgrade to rails 1.1 and I can''t find
much on google about this. When I run my tests I get this:
$ rake
(in /home/www/art2)
/usr/bin/ruby -Ilib:test
"/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader.rb"
"test/functional/panoramas_controller_test.rb"
2005 Mar 10
11
Default Values
Where in the application would you suggest I set default values that are read
for every action and in some cases changed and somecases not.
Basically on some pages I am getting the <title> from the DB and if not I want
to put a default one up.
Any suggestions?
2005 Mar 10
7
Order of Processing
It seems odd to me that the layout is processesed after the view. When I set a
variable inside the view it does not have an impact on the layout file. But
when I set it in the controller it does.
Is this the way it works or is it possible that I am doing something wrong?
2005 Mar 05
3
routes inconsistency?
...otally new action to
begin with, so I have to go through the template and change all the
link_to''s manually from the "show" action to the new "show_by_slug"
action. This is even worse than I was doing before!
What should I do? Argh :-/
--
One Guy With A Camera
http://rbpark.ath.cx
2005 Mar 07
1
0.10.1
So, do I really want to upgrade to 0.10.1? Seems like a lot of people
are having issues.
Joe
2005 Mar 08
1
Moving to production?
...uch caching as possible is good.
Are there other things I can cache? (Eg, how would I enable the HTTP
headers that tell the browser to cache pages for a month?)
Also, how do I make my 404 error pages render in the same page layout
as the rest of the site?
Thanks.
--
One Guy With A Camera
http://rbpark.ath.cx
2005 Mar 09
1
Newbies perceptions and questions
Hi,
I found rails on internet when I looking for some ''better'' way how to
create web applications. I read tutorial 4 days on rails and I have 3
questions
1. How speed is it? (very slow on my testing machine, but that is P100
with 64Mb RAM, what''s enough for php or rhtml :))
2. How does it work... I create table categories, I create model and
controller category, but
2005 Mar 19
2
routing problem 1.8.2/0.10.1/webrick?
I seem to have come to a strange problem getting started on rails. I
had everything working in a virtual machine and then set up a seperate
machine just for rails developement. It now seems something is broken a
little.
ruby 1.8.2, rails 0.10.1, postgres, using webrick:
i created a table "users", then "generate scaffold User"
view localhost/users works fine, shows the
2005 Mar 08
43
e=MCv
Dears,
What is this software runned as "e" showed on most Rails Videos and
providing a tree browser (explorer) and editor ?
Avail for Linux ?
Gretz
--
Mathieu
2005 Mar 07
3
Tons of shiny new stuff
Ok despite this crazy flu which got me last week i was able to get
some coding done.
Here goes:
== Hieraki
Hieraki got plenty of improvements next to the rails 0.10 update. The
biggest new features are proper yaml, html and readme export. But
there are also plenty of new code improvements like the switch to my
favorite postback style for all controllers. Hieraki traditionally
serves as a demo
2005 Mar 04
4
Upgrading broke the .find methods???
I just updated to rails (via gem) and now all my .find..... methods
give me "wrong number of arguments(3 for 0)" with the exception of
find_by_sql which works fine but I want to avoid for obvious reasons.
I''ve tried simplifying everything down to the bare minimum
Priorities.find(1)
and I printed out Priority.table_name to confirm it was still correct.
What gives? Did I
2005 Mar 06
3
Accessing login name from login_generator
I''m new to Rails and am modifying the ToDo tutorial app into something
else. I have successfully installed authentication via login_generator
and now I working toward restricting access to certain database records
based on the login name. I realize that eventually, I''ll want to use
the "id" field, but for now, I just want to use the user name itself.
I have
2005 Mar 09
6
auto increment id
looking at the unit tests of activerecord leads me to think the db is
completely responsible for auto-incrementing the id field and rails does no
magic here. can someone confirm that this is a true statement?
that being the case - what is the preferred way to write database agnostic sql
for one''s schema since each of the dbs has slightly different syntax for this
functionality... does