Displaying 20 results from an estimated 10000 matches similar to: "File manipulation"
2006 Jun 14
13
A good tutorial
Are there any other tutorial than "Agile Web Development with Rails"
that you can suggest? So far I can''t say that RoR has been easy to
learn. :-)
--
Posted via http://www.ruby-forum.com/.
2006 Jul 14
6
Don''t understand :: in ActionController::Base
Maybe this should apply to Ruby forums directly, but I''ll try here.
I understand the concept of classes and subclasses thanks to the
excellent "Programming Ruby - The Pragmatic Programmer''s Guide".
However, I don''t understand what :: signify in terms of inheritance,
parent and child in e.g.
ActionController::Base
--
Posted via http://www.ruby-forum.com/.
2006 Jun 07
10
RoR with Apache2 - performance?
How is the performance running RoR with Apache2 compared to running it
with PHP?
--
Posted via http://www.ruby-forum.com/.
2006 May 24
5
Starting on the Ruby Rails path
Hi all, I''m a web designer/-developer. I found Ruby and Ruby on Rails,
and as I can understand (for now) this is what I''ve been looking for.
I''m really exited about this. Prior to this I''ve used Lasso and PHP.
But a few questions (sitting on Mac OS 10.4.6). I tried to install
according to this:
2006 Jun 07
16
How dows RoR work?
This is so frustrating. Is RoR that easy to learn or is it hype or is it
just me? I wonder how many newbies like me are surfing the docs trying
to get a clue of the basics. Every tutorial I find is much the same, and
seems to skip the fundmental parts. How should you understand the Ruby
API http://api.rubyonrails.org/?
What is < ActionController::Base? Can''t I set a cookie under
2006 Jun 07
4
Table names
Can I use the table name "adm_users" (mysql)? Will that give the model
name "adm_user"? Or should it be "admusers" and "admuser"?
--
Posted via http://www.ruby-forum.com/.
2006 Jun 13
5
Can RoR handle a lot of traffic?
And compared to PHP?
--
Posted via http://www.ruby-forum.com/.
2006 Aug 09
8
AJAX image manipulation
I have this code in a controller that returns images to my browser...with
ROR.
def index
@products = Product.find_all_ pictures
end
....this is the .rhtml..
<% for photo in @pic -%>
<div class="entry">
<img src="<%= photo.image_url %>"/>
<h3><%= h(photo.title) %></h3>
<%= photo.description %>
2006 Jun 11
47
Ruby on Rails and CakePHP Comparison
>From a development standpoint, what are the features that make Ruby on
Rails a better choice compared to CakePHP?
--
Posted via http://www.ruby-forum.com/.
2006 Feb 04
22
What''s the best way to embed a form?
I would like to embed my login form on my app''s home page. What''s the best way to render the login action of member controller from another action?
Thanks
Frank
---------------------------------
Relax. Yahoo! Mail virus scanning helps detect nasty viruses!
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2007 Apr 23
3
How to change Date format
Hi all,
I am using InstantRails with MySQL-Front. Date is stored in format
yyyy-mm-dd
in database. I want to retrieve and show date in dd-mm-yyyy in my
view.rhtml.
How can I change it to dd-mm-yyyy form.
Please help me out.
Thanks
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
2006 Aug 17
4
Migration newbie
In an migration file there is one up and one down method. Below is from
Agile Web Development with Rails:
class CreateOrderHistories < ActiveRecord::Migration
def self.up
create_table :order_histories do |t|
t.column :order_id, :integer, :null => false
t.column :created_at, :timestamp
t.column :notes, :text
end
end
def self.down
drop_table :order_histories
end
end
Why is there a drop
2006 Aug 07
9
problems with ActionMailer
Hi all,
I''m trying to create a worker to send a mail to all the users in my
db. Right now I''m doing the tests, this is the code in my worker
(Masivo is the ActionMailer subclass):
def do_work(args)
@progress = 0
@logger.info("MAILER: starting job")
records = Record.find(:all)
total = records.size
records.each_with_index do |record, idx|
2006 Jul 07
2
How does layouts work?
When creating a scaffold you get a layout file. How does it work? I
thought I would find the var @content_for_layout in the controller, but
I didn''t. Where is layouts defined or controlled?
--
Posted via http://www.ruby-forum.com/.
2006 Jul 06
5
What is protected?
In http://www.aidanf.net/rails_user_authentication_tutorial there is the
string/method
protected
in the model. What does it do? Can''t find that in
http://api.rubyonrails.org/.
--
Posted via http://www.ruby-forum.com/.
2006 Mar 04
13
Using helpers from controllers ?
There is a solution to use helpers from controllers ?
I have an error :
|undefined method `content_tag''|
class ApplicationController < ActionController::Base
def test
return content_tag("a","test")
end
end
2006 Feb 19
4
is "display" a reserved name of some sort?
A view display.rhtml sees no controller state variables set in the
corresponding display action. Why?
-- fxn
2006 Mar 21
5
Object#id being deprecated - Rails 1.1
Hi
Think this is probably straightforward, but I don''t know enough about
rails to work it out, so was wondering if anyone can help
I keep on running into this error when I''m deploying my app:
"FastCGI: server ".../public_html/public/dispatch.fcgi" stderr:
../config/../app/views/items/_side_share.rhtml:8: warning: Object#id
will be deprecated; use
2008 Jan 04
1
patch for html display
All,
I''ve found that the html view for the rspec formatter falls to pieces with
Rails 2.02 and rspec 1.10. Has anyone else run into this trouble?
Here''s a monkey patch that fixes the problem. A more elegant fix would be
in order, but this gets the job done:
Index:
/Users/timcharper/www/exchange/vendor/plugins/rspec/lib/spec/runner/formatter/text_mate_formatter.rb
2006 Jul 07
1
Style on _fields
How can I modify the style of a RoR field like text_field or
password_field? I can use input in css, but how do I add a class?
--
Posted via http://www.ruby-forum.com/.