similar to: Including custom files

Displaying 20 results from an estimated 20000 matches similar to: "Including custom files"

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 Aug 25
8
Tutorials
Getting a bit frustrated with the documentation of RoR I ask you if you can recommend a good tutorial that I''ve missed :-) The current problem that I''m stuck with is forms and list and how to display or not to display columns. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed
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 13
5
Can RoR handle a lot of traffic?
And compared to PHP? -- Posted via http://www.ruby-forum.com/.
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 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
2008 Sep 16
7
id in form_tag for update
I get an error saying Rails can''t find the post because I don''t have an id when doing the update. I have: <% form_tag ''/meetings/update'', :id => @calendar.id, :onsubmit => ''return ValidateMeeting()'' do %> Is this wrong? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You
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 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:
2010 Jul 27
3
Rack in Rails
Does Rack come with Rails or do I need to install the gem? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to
2009 Apr 24
4
Long string in crypting
I use a solution to crypt a string that I found using OpenSSL. But the crypted string becomes very long, too long for a varchar 255 to hold it. What can I do to make it shorter? Or should I just use text as column in the mysql db? public_key_file = ''lib/public.pem'' public_key = OpenSSL::PKey::RSA.new(File.read(public_key_file)) @encrypted_string =
2006 Jun 03
2
Two Announcements - Beta Book and a Rails magazine!
Two announcements, so I''ll split this post into two pieces: MR. NEIGHBORLY''S RUBY AND RAILS NOW IN BETA ========================================= My Ruby on Rails book is now in beta. You can roll on over to the website for more information and pricing: http://www.rubyonrailsbook.com/ Here''s a rundown: Beta eBook is available now, print hopefully in July sometime.
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/.
2001 Apr 27
1
[OT] autoconf - use existing libs or compile own
I'm building a small library that uses a handful of Lapack functions (dstevr and its dependants). Since not everybody has Lapack installed, I thought it might be neighborly to provide these routines, so folks could compile them if needed. However, if they've got Lapack it makes sense to use the existing libraries, as these may well be optimized to the local machine. Is that a good way
2006 Apr 25
3
New Rails book coming down the tube...
Howdy guys and girls, Most of you don''t know me; I''m mostly a lurker in the Rails community... Anyhow, I wanted to let you guys know about my upcoming Rails book: Mr. Neighborly''s Relevant Ramblings, Pointed Pontifications, and Thought Theories on Ruby & Rails. I just released the first chapter for free today (it''s a 60 page Ruby tutorial); you can grab it
2007 Aug 01
1
Splom custom superpanels
I thought one nice addition to a splom figure would be to have the scatterplots in the upper triangle and a color-coordinated correlation matrix on the bottom. So I tried my hand at customizing panel.pairs(), and was rebuffed. Many times. Four hours of fruitless debugging later, I turn to you for help: panel.pairs(z=teststatfull[,6:12], pscales=0, panel.subscripts=FALSE, subscripts=,
2010 Sep 21
6
Iterate HashWithIndifferentAccess
How do I iterate a HashWithIndifferentAccess? I need to set the order using a sortable_element. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send
2009 Jul 15
0
[PATCH server] changed vm details pane vnc uri, removed 'Remote Desktop' virt-viewer-plugin link
virt-viewer-plugin is deprecated and will be replaced w/ ovirt-viewer-plugin, vm details pane uri indicates ovirt-viewer should be used with the specified hostname --- src/app/views/vm/show.rhtml | 18 ++++-------------- 1 files changed, 4 insertions(+), 14 deletions(-) diff --git a/src/app/views/vm/show.rhtml b/src/app/views/vm/show.rhtml index ffe5055..30b17cb 100644 ---
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 Mar 21
0
theme_generator custom application views
I''ve installed the theme generator but am having trouble getting custom application views working. Let''s say I define a action called ''test'' in the controller. class PageController < ApplicationController theme ''bluebird'' layout ''default'' def test end end Now if I define a rhtml page called