Displaying 20 results from an estimated 300 matches similar to: "Is there a method for incrementing string names?!?"
2006 Aug 18
8
- Lingr is born
Hello everyone-
In the spirit of previous Rails-based product announcements that I''ve
seen here, I''m pleased to announce Rails'' newest progeny, at
http://www.lingr.com.
Lingr is a community site where you can chat about your current
interests, in realtime, right in your browser. You can find related
topics, meet new people, and just have fun in general.
2006 May 25
3
caching of javascript and stylesheets
Is there a standard way to make sure a client''s web browser pulls the
latest version of your style sheet or javascript file instead of using a
cached one? We are currently using a tedious way where we add a
version number to the file (e.g. screen-v12.css) and when Rails boots up
it finds the latest version in the style sheet folder. On the other
hand, I have seen Basecamp append
2006 May 24
2
Has Many Through + Join Model + Forms + Confused?
Hello,
I''m trying to implement something like the following scenario. I''ve got
"Alloys" (blends of metals), "Metals" and "Percentages" I want to implement
this using a join model, not using a has_and_belongs_to_many relationship.
(If i''m wrong about that, let me know).
Basically, i have the following tables:
Metals
id
name
Alloys
2008 Jan 10
8
Worker suicide
I have a worker which wants to delete itself after it finishes its
work- how can it do that?
Best Regards,
Danny Burkes
2006 Aug 09
21
DHH''s Post on Ruby Talk -- Rails 1.1.5: Mandatory security patch (and other tidbits)
We''re still hard at work on Rails 1.2, which features all the new
dandy REST stuff and more, but a serious security concern has come to
our attention that needed to be addressed sooner than the release of
1.2 would allow. So here''s Rails 1.1.5!
This is a MANDATORY upgrade for anyone not running on a very recent
edge (which isn''t affected by this). If you have a public
2007 Apr 21
5
Thinking of using aaf- looking for advice
Hi-
I''m technical lead at Lingr (http://www.lingr.com), a chatroom-based
social networking site. We''ve currently got several million user
utterances stored in MySQL, and we''re looking to build a local search
functionality. I''ve played around with aaf and I really like it, but I
have some questions.
1. Is anyone out there using aaf to index a corpus of this
2006 Mar 03
3
TinyMCE or FCKEditor (WYSISYG editor)
TinyMCE or FCKEditor? which one is the best from your experience?
Or anything better than these two for rails env?
Thank you all,
- Dunnil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060303/7350e5df/attachment.html
2005 Nov 23
8
Compiler OR Obfuscator for RoR applications?
Hi folks,
I''m a newbie in the Ruby land, The Ruby language and RoR looks really
great but I think in my situation there is a problem, we are an ISV
that sells web application and we don''t want our clients see our
source code, I searched the web but couldn''t find any way to compile
and\or obfuscate ruby code (in web (RoR)), is there such tool
available for the language?
2006 Nov 04
11
[OT] What''s the best way to install ruby/rails on Mac OS X?
Hello folks,
I''ve newly bought a Mac and am new to it. I want to install Ruby on
Rails on it (Ruby, Rails, SVN, Apache, MySQL, ...) but I''m not sure
which way is the best.
Should I go for Fink? OpenDarwin? Or just install them directly on mac.
What about something in Fink, something in OpenDarwin and something directly?
I''m a bit confused, may you please give me a
2006 Mar 03
2
FCKEditor Image uploading feature
Hello,
I followed instructions on
http://www.joshuamcharles.com/rails/fckeditor.html
Added FCKEditor to my rails app which works great, but I''m not able to
upload images using the WYSISYG editor.
Is there a way to enable this feature in rails app? If not, where is the
images folder that FCK looks into it for images, so I can upload my images
manully there?
Thanks,
- Dunnil
--------------
2006 May 31
19
Rails Deployment: Book recommendation?
Hello,
I''m seeking a book on rails deployment (I think a general deployment
on nix book can helps too)
I need in depth information about Apache, FastCGI, (LightTPD maybe).
I was thinking always I know what a web server is! but when I think
more deeply about it (after reading Capistrano doc) it seems I need
more info about app, web and db servers. stuff like how to config the
app server
2006 Jan 30
3
params on controller and view
Hi,
I have a link that says:
<%= link_to_remote("Data", :update => ''pie_graph_div'', :url => {
:action => :show_pie_graph, :mode => ''nums'' }) %>
which calls *show_pie_graph*:
Controller:
def show_pie_graph
render :layout => false
@mode = params[:mode]
end
View:
<img src="/surveys/make_pie_graph/<%=@mode%>"
2006 Jun 15
25
[Very OT] MacBook defects: should I buy a MacBook?
Hello,
First and foremost sorry for off topic message, but I thought maybe
you smart guys can help me to decide about purchasing a MacBook or
not.
I was going to buy a MacBook but I found a story on digg.com about
case discoloring and after googling the subject I found MacBook
defects:
http://www.appledefects.com/wiki/index.php?title=MacBook_Pro
I''m totally confused, should I buy it?
2009 Oct 20
2
LDA Precdict - Seems to be predicting on the Training Data
When I import a simple dataset, run LDA, and then try to use the model to
forecast out of sample data, I get a forecast for the training set not the
out of sample set. Others have posted this question, but I do not see the
answers to their posts.
Here is some sample data:
Date Names v1 v2 v3 c1
1/31/2009 Name1 0.714472361 0.902552278 0.783353694 a
1/31/2009 Name2 0.512158919 0.770451596
2006 Apr 19
4
emacs rails 0.39
Testing version of Emacs Rails (http://rubyforge.org/projects/emacs-rails/)
was released. If you have some suggestion or you find some bugs please
inform us.
Features:
* Management of WEBrick/Mongrel
* Display color log file
* Toggle Switch between Action/View and other file (tests, helpers)
automaticly or with menu
* Switching to file from current line f.e. from redirect_to :controller =>
2006 May 09
25
[OT] How do guys create round corner boxes? Which Graphic tool?
Hello,
Yes, I know it''s off-topic and nuby question, but I really don''t know
anything about graphic, I''m all a coder who lives in his text editor, so
sorry at first!
I need to create round corner box for my web app, I know how to form a box
using CSS, I just dunno how to create those rounded corners.
Is there an easy to use tool for creating them, out there?
Thank you
2006 Feb 09
1
How to reorder rows in a table?
Hi,
I have a link table with a location field, here is the code I wrote to
reorder the rows
# move_up action in links controller
def move_up
current_link = Link.find(params[:id])
current_link.location -= 1
current_link.save
same_link = Link.find_by_location(current_link.location)
same_link.location += 1
same_link.save
redirect_to :action =>
2006 Jan 31
2
Problem generating CHM Rails doc
Hi,
I have problem generating chm file for the rails doc.
I''ve commaned the rdoc to generate the chm by:
rdoc -f chm -o chm_folder action* rails-*
It gave me the following error:
vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/controller.rb:3:15:
Expected class name or ''<<''. G
ot RubyToken::TkLT: "<"
By adding
2006 Apr 16
11
Multiple domain name, One Rails application, is this possible?
Hello folks,
I''m new to the Rails framework and don''t know where to look to find my
answer.
Here is the question, Is there a way to set multiple domain name for *a*
rails application, and base on the URL do the work in the app.
Imagine I have a user based document management system, each user want to
access to her docs using her domain, but I don''t like to have many
2006 Feb 11
9
Upgrading to Ruby 1.8.4 and strange problems!
Hi folks,
There is a strange problem here, I''ve installed the latest version of
One-Click Ruby installer [1.8.4-16 preview3], everything went fine, and
after that I''ve installed Rails 1.0.
No problem in setup process, but now, when I try run my rails application,
there are many strange things happening.
In one my application no CSS apply, looks like there is no CSS file, and