Displaying 20 results from an estimated 1000 matches similar to: "Evil Scaffold"
2006 Oct 16
5
New Rails Site: http://www.tanga.com
http://www.tanga.com is where it''s at. We''re planning on open sourcing
the e-commerce bits of it sometime in the near future. Any suggestions
on how to best do that? (plugin? generator?)
A non-video game will be offered for sale at 7 pm PST on Monday, btw.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
2006 Oct 12
2
Too Many Mysql connections
In my app, for three models: foo,bar and baz, the database connection
is made to a different database and hence in model code:
class Foo < ActiveRecord::Base
establish_connection :diff_database
end
class Bar < ActiveRecord::Base
establish_connection :diff_database
end
class Baz < ActiveRecord::Base
establish_connection :diff_database
end
Now, the problem is, if is use the above
2006 Oct 19
5
find(:all) and find_all_<etc>
Perhaps I''m an idiot and just don''t get it, and perhaps this question
has been asked a million times before, but I''m not really sure how to go
about searching for an answer to it:
Why does my code Library.find(:all, :conditions => "user_id =
#{session[:user].id}") return [] instead of nil when there are no
results?
--
Posted via
2006 Jan 13
2
Change Password with acts_as_authenticated
I want to have a form to change a users password. I can''t figure out
what the method in the controller should look like. I tried @user.save
and @user.update_attributes, but can''t get it to work.
My Form:
##############################
<%= start_form_tag :action => "update_password", :id => @user.id %>
<%= password_field ("user",
2006 Feb 23
1
OT: Collaboa on Debian
I am running a subversion server (on Windows) but I would like to run
Collaboa. I am pretty familiar with the Linux world (not in a developer
sence) and I am having problems with installing the prereqs for
Collaboa. I have read the article "How to install Collaboa on Debian"
but it doesn''t seem to work for me. Has anyone gotten this working and
can help?
Seth Buntin
Web
2006 Jul 27
3
Subversion library for RoR
Hi everybody,
Is there a gem or something for working directly with Subversion from a RoR
app?
Thanks,
Tiffani A.B.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060727/26846e72/attachment-0001.html
2006 Aug 03
5
Store common settings in one file?
Hi,
I''m looking for a way to store common settings, such as the
application_name or email address from value in a file.
I then want to be able to call these settings in my controllers and
models?
Is there any easy way of doing this? and where would you recommend I
save the file ?
Thanks
scott
--
Posted via http://www.ruby-forum.com/.
2006 Jul 28
5
RoR & Lightbox
Has anybody else had a problem with using Lightbox in their RoR apps? I
include all the necessary files in application.rhtml and then attempt to use
the Lightbox functionality in pages and such. Nothing happens except that a
new page opens up with the link to the image I was attempting to show with
Lightbox. I''ve even gone so far as to strip out everything except the
necessary
2006 Jun 26
4
Counting Associated Records from MySQL Result
Hey All,
I''m currently working on a Guitar Reviews website and I think i''ve been
coding for way to long and forgot the basics..I''m having trouble doing a
simple SQL method.
I have 2 Tables, 1 for Guitar Manufacturers (gmanufacturers) and 1 for
Guitar Models (gmodels), every model has a manufacturer and every
manufacturer has many models (gmodel belongs_to
2006 Feb 08
8
Liquid with database?
Hello,
Just wondering if someone here as successfully ported Liquid to use with a database. I would like to try it out but not sure how Liquid integrates with current templates.
Thanks
Frank
---------------------------------
Yahoo! Mail - Helps protect you from nasty viruses.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2007 Feb 20
10
ferret webpage down
The ferret webpage at http://ferret.davebalmain.com/ has been down for a
number of days. Any idea what''s going on? or how to notify the
webmaster?
--
Posted via http://www.ruby-forum.com/.
2006 Jul 28
5
DREAMHOST SO SLOW
Does anyone know of any fixes to this?
Any industry-known tips/tricks?
The page loads sometimes take 20-30 seconds.
so bad.
mk
--
Posted via http://www.ruby-forum.com/.
2006 Aug 05
4
file_column just will not work...
Hello,
I have been trying for some time to get a file to upload using the
file_column plugin.
My code is here: http://pastie.caboo.se/7304
But my code is not the issue. I cannot even pass the unit test that
come with the file_column plugin.
If I run ruby file_column_test.rb i get:
1) Error:
test_store_dir_callback(FileColumnTest):
TypeError: can''t convert Fixnum into String
2004 Oct 18
2
答复: 答复: R plot problems
Yes! You are right ! It is perpendicular to the axis.
Thank you very much!
Could I choose the angle ,such as 45 degree?
Best Regards!
Ivy Li
YMS in Production & Testing
Semiconductor Manufactory International(ShangHai) Corporation
#18 ZhangJiang Road, PuDong New Area, Shanghai, China
Tel: 021-5080-2000 *11754
Email: Ivy_Li at smics.com
-----orig---
Hi Ivy,
How about
x <-
2006 Sep 06
22
ROR host: dreamhost or godaddy?
hi all,
i am looking for a host for my ROR web app. the target audience will be
70% from mainland china, and 30% from the rest of the world.
i dont want a chinese hosst because:
1. it''s very slow for the rest of the world to access to it.
2. the speed is quite ok for china to access the us sites.
both dreamhost and godaddy provide similar budget plans, and i saw them
all from this
2005 Sep 22
2
production environment
So I''m getting ready to setup a production environment on my boxen (running
Fedora Core 3), what are my options? I''ve seen a number of posts about
FastCGI, SCGI, etc. and am completely lost as to what I should be setting up
on my box (that I hopefully won''t have to touch for a while).
I need to run Collaboa, Typo and probably 3 or 4 other apps on this, so
2011 Apr 07
1
Quasipoisson with geeglm
Dear all,
I am trying to use the GEE methodology to fit a trend for the number of butterflies observed at several sites. In total, there are 66 sites, and 19 years for which observations might be available. However, only 326 observations are available (instead of 1254). For the time being, I ignore the large number of missing values, and the fact that GEE is only valid under MCAR. When I run the
2004 Oct 18
2
答复: How to draw x-axis time label.
Thank you for helping me!
I try the "pretty" funtion to select the x-axis position value.Then I use the "format" funtion.
xax.pos <- pretty(as.numeric(x$x.name))
format(xax.pos,'%d %b %y')
> xax.pos
[1] 1091600000 1091800000 1092000000 1092200000 1092400000 1092600000 1092800000
[8] 1093000000
There are something wrong. I found the xax.pos has been changed to
2006 Aug 11
3
Rails Documentation is RoR''s achilles heel
Hi All
Just a few minutes back I came across a post about autotest/zentest and that
post reignited the feeling I get when I look at RDoc, RoR documentation.
The main thing that is lacking in RoR and to some extent Ruby''s RDoc is
showing method names in HTML is not documentation. The arguments to method,
exception/errors raised by method, return value and a usage example
completes the
2004 Oct 18
3
答复: R plot problems
Thank you for your help!
I gave you an example, you could run it in R . Maybe you will understand my meaning clearly.
x <- data.frame(main.name="AAA", x.name=rep(c("Apply","Watermelon","Lemon","Banana",