Displaying 20 results from an estimated 4000 matches similar to: "NOOB: Second post, please help..."
2006 May 22
3
Best Rails API source
Folks,
Is api.rubyonrails.com the best source for RoR API info? Do any other formats exist, that are easier to navigate/search?
Thanks,
Marcus
Marcus Blankenship
Technology Services - Software Group
JELD-WEN, inc.
Information Systems
541-882-3451 x 2558
marcusb@jeld-wen.com
RELIABILITY for real life*
This correspondence is for the named person''s use only. It may contain
2006 May 17
2
NOOB: Passing parameters between pages
Folks,
I have a rhtml page (page A) that links to another page (page B), and I
want to pass some parameters from page A to page B.
Here is the link code (on page A):
<%= link_to ''Edit'', { :action => ''edit'', :id => permit }, :post => true
%>
If I want to pass a parameter "name" and a value "marcus", and pick it
up on page
2006 May 17
0
NOOB 2 - Controller not running when accessing pages
Folks,
I am linking from page A to page B, and back again. When I go from A -> B, the B_controller.rb runs fine, and the page renders properly. But, when I go from B -> A, the A_controller.rb doesn''t run again, so the array (@A) is nil (which causes a problem).
Should the controller run each time the page is accessed? Any ideas?
Marcus
Marcus Blankenship
Technology Services -
2006 Mar 29
6
Pagination ...
Hey,
I have a CMS I am building right now and I would like to my articles to
split in many pages.
Here is what I want to do:
Once the article reaches 150 words or so it create a link to Page 2 of
the article and, on page 2, it displays the rest of the article...
How can I do that ?
(note that you explain this to a beginner :)
Thank you!
--
Posted via http://www.ruby-forum.com/.
2006 May 22
13
How is this possible?
When run from the console, the following code works, when run through
the WEBrick server I get a "You have a nil object where you didn''t
expect it!"
class Competition < ActiveRecord::Base
has_many :comp_dates, :order=>:position
def initial_date
comp_dates.first
end
def display_dates
i_d = initial_date
if i_d.nil?
return "unknown"
2006 May 09
11
model filter?
Hi All,
Is there a way to filter / modify the output of a model class before
it''s returned to controller/view that''s calling it?
Example: I have a field phone_number which I always want to preformat
using the number_to_phone() helper....
Any help is appriciated.
Thanks!
--
Posted via http://www.ruby-forum.com/.
2006 May 16
2
Validate Before Delete
I have an Order model with a ''status'' column. What I want to be able to do
is validate that the status of the Order is not completed before it is
allowed to be deleted. I tried the following method in my Model, but it
appears that this only works for an :update or :create on the record.
Anyone know how to do this, and if it should be in the model or the
controller?
2007 Sep 04
5
Invite from Ben Askins (ben.askins@gmail.com)
BenAskins (ben.askins at gmail.com)
has invited you as a friend on Quechup...
...the social networking platform sweeping the globe
Go to: http://quechup.com/join.php/aT0wMDAwMDAwMDA5MjY4NjU2JmM9OTc1NDE%3D
to accept Ben''s invite
You can use Quechup to meet new people, catch up with old friends,
maintain a blog, share videos & photos, chat with other members, play
games, and
2006 Jul 06
3
bug/feature
I don't know if this has been mentioned here or even thought of in the
grand scheme of things and I'm just sending a one time email about it
"just in case"
I recently swapped my server around and I'm using dovecot now....LOVE
it! Could use a bit more intuitive error messages, but otherwise, it's
great!
But there is one flaw that I've run into with my users.
2008 Dec 15
8
[PATCH 0/2] MCA support with page offlining
Hi all,
I had posted about MCA support for Intel64 before. It had only a
function to log the MCA error data received from hypervisor.
http://lists.xensource.com/archives/html/xen-devel/2008-09/msg00876.html
I attach patches that support not only error logging but also Page
Offlining function. The page where an MCA occurs will offline and not
reuse. A new flag ''PGC_reserved''
2004 Nov 22
20
Is it possible to Xenify a stock Redhat/Fedora kernel.
I would have sworn that someone on the list had a way to Xenify a stock
RH kernel but I was not able to dig it up on the archives.
If this does not exist I am sure it would be a nice addition to Xen to
be able to patch and build some kernels that are compatable with some of
the popular distributions.
--
Alvin Starr || voice: (416)585-9971
Interlink Connectivity ||
2006 May 19
2
RoR and IBM Webservers
Folks, is it possible, or has anyone, gotten RoR to run any any IBM
webservers?
If so, can you offer details, links, advice, etc?
Thanks,
Marcus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060519/d3c4adaf/attachment.html
2006 May 22
2
Submit_tag question
Can I pass additional parameters when using a submit_tag?
Is this legal?
<%= submit_tag ''Save'' , { :editfacility => params["editfacility"] }
%>
When I do this, the "editfacility" parameter is always lost. I have a
feeling I''m missing something basic...
Thanks,
Marcus
-------------- next part --------------
An HTML attachment was
2016 Sep 16
4
samba to ad transition
I am going to upgrade our domain which is based on samba to AD. I'd like to
have a 2 dc controllers.
After of this transition my plan is to use existing samba server as a file
server with 2 new controllers.
How to do correctly that transition? How to setup the second DHCP server?
--
View this message in context: http://samba.2283325.n4.nabble.com/samba-to-ad-transition-tp4708209.html
Sent
2016 Sep 23
4
samba to ad transition
OK. I followed all of these steps. FInally i got that running, but.
When I used RSAT tools to manage users I got message, that "A global
catalog cannot be contacted to retrieve the icons..." So I do not able to
change anything.
The second problem is DNS. Failed DNS update with error code 1 and with
error code 110.
On Tue, Sep 20, 2016 at 2:36 PM, Samba - General mailing list [via
2006 May 23
11
adding layouts within layouts
Hi,
I want to be able to have several layouts within each other so that I don''t
have to keep repeating the layout code for one, in another. An example
would be having a layout for the title of your web page and then having an
embedded layout for the body portion in which the HTML for whatever view
gets displayed. Is this possible?
Thanks.
-------------- next part --------------
An
2016 Sep 20
4
samba to ad transition
On Tue, 20 Sep 2016 08:33:23 -0700 (PDT)
kajkoz via samba <samba at lists.samba.org> wrote:
> I did it again, mean. I followed the instruction
> https://wiki.samba.org/index.php/Migrating_a_Samba_NT4_domain_to_a_Samba_AD_domain_%28classic_upgrade%29
> then I tried to log in from the client computer. ANd again. If that
> user already existed on client computer there was not a
2005 Nov 24
1
Inversion function of dnorm ?
Hi,
In R, qnorm is the inversion function of pnorm. (c.d.f)
But there is no inversion function for dnorm. (p.d.f).
Is there any easy (and quick) way to compute the inversion function of p.d.f
in R ?
Thanks ...
2009 Jul 10
2
[PATCH 1/1] a fix of logging return value.
in ocfs2_file_aio_write(), log_exit() could don't log the value
which is really returned. this patch fixes it.
Signed-off-by: Wengang Wang <wen.gang.wang at oracle.com>
---
fs/ocfs2/file.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c
index 62442e4..a49fa44 100644
--- a/fs/ocfs2/file.c
+++ b/fs/ocfs2/file.c
@@ -1918,8
2006 May 23
1
Help with observe_field
Folks,
When I use observe_field, I get a javascript error "Form is not
defined". Any thoughts?
__View: search.rhtml__
<label for="search">Search:</label>
<%= text_field_tag :search %>
<%= observe_field(:search,
:frequency => 0.25,
:update => :search_hits,
:url => { :action =>