Displaying 20 results from an estimated 1000 matches similar to: ""Page has expired" problem"
2006 May 18
6
NOOB: Second post, please help...
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 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 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.
2006 Jul 07
3
calculate number of months difference between two dates
hi,
Is there an easy way of calculating the difference in months between two
dates in a controller.
thanks
--
Posted via http://www.ruby-forum.com/.
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
2005 Mar 06
2
Ices0 v. 0.4 Skip Song
Hello all
Ive just discover that ices0 can encode {.ogg,.flac,.mp3} to mp3 streams!..
greate!
the script thing is wonderfull. in my script i have defined
ices_init
ices_shutdown
ices_get_next
all works greate.
Now, i want be able users to skip the song that is been streamd.
for that,
kill -s SIGUSR1 IcesPid
works greate
but.. for the songs i have setup a ranking field in a sql database.
2006 Aug 06
1
writing a plugin
Hi,
Does anyone know of any complete tutorials that show the basics of
writing a rails plugin?
thanks
scot
--
Posted via http://www.ruby-forum.com/.
2006 Jul 05
2
get value from array.
hi,
Im running the following sql statment which returns 1 result.
pSql = "SELECT sum(amount)
FROM payments
WHERE expected_pay_date LIKE ''"+pWholeDate+"%''
AND invoice_id IS null "
aResult = Payment.find_by_sql(pSql)
how can I get the result of this?
(when doing @aResult.inspect it
2006 Jul 05
3
display message when not running off the production database
Hi,
Is there a way to output a message to the top of every page when the
rails application is not running from the production database?
Thanks
--
Posted via http://www.ruby-forum.com/.
2006 Jul 07
2
how to do $pVar ++
This has been bugging me for a while
In php you can do $pVar++ to add 1 or $pVar-- to subtract, how can this
be done in ruby?
--
Posted via http://www.ruby-forum.com/.
2006 Jul 16
2
how does base camp manage there accounts
hi,
Cant find any information this anywhere so was wondering if anyone had
any ideas.
Basically when you go to basecamp.com it allows you to sign up for a
account and gives you a url username.projectpath.com
I was just wondering how they do this, and if each account has there own
database or if it is all stored in one.
thanks
scott
--
Posted via http://www.ruby-forum.com/.
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 =>
2006 May 26
3
Ajax/Rails question
Is there any way to make an Ajax call (like link_to_remote) and pass in
the value of a field on screen? This seems obvious, but I can''t find
anything...
Thanks,
Marcus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060526/19178f23/attachment.html
2023 Mar 28
1
[PATCH net-next 2/8] virtio_net: mergeable xdp: introduce mergeable_xdp_prepare
Separating the logic of preparation for xdp from receive_mergeable.
The purpose of this is to simplify the logic of execution of XDP.
The main logic here is that when headroom is insufficient, we need to
allocate a new page and calculate offset. It should be noted that if
there is new page, the variable page will refer to the new page.
Signed-off-by: Xuan Zhuo <xuanzhuo at
2023 Mar 31
1
[PATCH net-next 2/8] virtio_net: mergeable xdp: introduce mergeable_xdp_prepare
? 2023/3/28 20:04, Xuan Zhuo ??:
> Separating the logic of preparation for xdp from receive_mergeable.
>
> The purpose of this is to simplify the logic of execution of XDP.
>
> The main logic here is that when headroom is insufficient, we need to
> allocate a new page and calculate offset. It should be noted that if
> there is new page, the variable page will refer to the new
2006 Jul 20
4
setting site up on dreamhost
Hi,
was wondering if anyone has had any experience setting a site up on
dreamhost.com
Ive uploaded teh site, turned fastCGI on
However having a few problems gettign the site to show, when i go to
/public/ it shows the rails welcome page, should I be redirecting the
sit url to this?
thanks
scott
--
Posted via http://www.ruby-forum.com/.
2006 May 31
7
How to render from with <%%> ?
I have a loop that I iterate through in my view.
<%
coll.each do |itm|
puts(itm.value)
end
%>
How do I render the itm.value without using a <%= %> tag? Should puts
not work?
Joerg
P.S. There is a good enough reason for me wanting to do this :-)
--
Posted via http://www.ruby-forum.com/.