Hello,
i want to profile my rails-application with ruby prof.
i started to create a test.rb including:
get /
say GET / = #{path}
---
then i want to acces it via plugin by:
ruby-prof path/to/test/test.rb
but all i get is:
undifinfed methor get for main:Object (NoMethodError)
can someone tell
Hello,
i've stored my sessions in a session table and can acces them via:
Session.all (id, session_id, data, c_at, u_at)
also i can get my current session_id via:
request.session_options[:id]
Is there a possibility to find all request containing to every single
session - to get an overview
I'm not sure what you're after - requests aren't persisted anywhere
(unless you're doing something special to do that)
I want to find a possibility to get the PATH_INFO of each session user.
My first opinion to do that was to list the env of all sessions.
The reason I want to do that is to
Hi there,
if got some problems getting the Ajax.Request to work with rails.
sending the request via onclick works but the interpretaition fails
if I execute:
render :update do |page|
page.replace 'test', :text = 'it works'
end
I get 2 alerts:
RJS error:
TypeError: $(#test) is null
page.replace seems to be a helper which automatically searchs for
$('#test')
...
in other rails-projects it always worked liked that.
the v.2.0.0 I got by listing my gems via command line.
Isn't there a possibility to get the page.replace to work?
if i do
page.document.getElementById('test')
How can I get the page.replace to work?
--
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-t...@googlegroups.com.
To unsubscribe from this group,
new infos:
If i try the page.insert_html in my errored application, i get for
page.insert_html, :bottom, test, :text = it works.
try {
$(#test).append(it works.);
} catch (e) { alert('RJS error:\n\n' + e.toString());
alert('$(\#test555\).append(\it works.\);'); throw e }
In an application
Hi there,
i unfoutunately raked my rails-project.
This caused an erase of all entries of my sql database. The Model is
still there but all entries are missing.
Is the any possibility to redo this steop or recover the entries?
THANK YOU
--
Posted via http://www.ruby-forum.com/.
--
You
Hi there,
i wrote an intelligent searchform, which is divided into categories.
Just a short overview of the workflow. For every keyword, which is
entered in the searchform the matches are checked. So we've got a rank
in a hash.
[key of entry, relevance match]
For example:
@hash = [123 = 5, 124
Hi there,
i want to store an array of filenames in a session-variable
(session[:foo).
The problem is: if it reaches a current number of entries the
application breaks.
Is there a storage-limit of session-variables?
Is it possible to extend it?
Is there an alternative to store large
Do you mean something like storing the entries temporarly in a database
with action:create and delete them when not needed anymore?
... I think thats pretty much confusing to store.
Isn't there a possability to many strings/arrays (checkbox_values) in a
variable?
How can I change the session
With a rails app generated by a recent version of rails you'll have an
initializer called something like session.rb or session_store.rb in
config/initializers that sets up the session
I've got a rails app generated by a recent version of rails but no
initializer caller session.rb ... not even
Hmmm ... I can't get this.
I declared my choices as strings, but i don' know how to set a
DEFAULT-STRING..
something like
%= f.text_field :subject, :value = @ticket.subject%
just for collection_selct.
Thx
Frederick Cheung wrote:
On Jul 27, 5:41�am, Hans Hartmann rails-mailing-l...@andreas
can anyone help me?
--
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@googlegroups.com
To
Hi there,
now i tried to execute via System-Command but i just can catch the value
true/false.
Is it possible to declare a global variable in my ruby script - execute
the script - and then catch it with rails?
Greetz
Hans
--
Posted via http://www.ruby-forum.com/.
I try and try...
but I can't make the script be executed (nor an other Programm)
Can someone give me an example to execute external files with rails? So
I can get an idea of the path-description.
Thx a lot
--
Posted via http://www.ruby-forum.com/.
And what can i do, if the file is some levels higher than my
public-folder. Is there a possibility to browse back. I tried so much
... but nothing worked.
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are
Hi,
I want to add a tag-search to my page. The tags can be given to each
item by clicking a checkbox. The value of the checkboxes is saved in the
table using the check_box_tag.
By editing the tags of an item (refreshing the page) the checkboxes
delete their status - reset theirselves.
Question:
Not even one response?
--
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@googlegroups.com
To
Hi there,
i want to embed a Quicktime-Movie on my Page.
I use the following code:
embed src=Z:/09002_R/client/090423_1730/RO.mov width=200
height=240 autoplay=true
Getting the file by an internet-adress erverything is fine, but it
doesn't apply by using the path from my hard-disk.
Is their a
I tried and tried and tried ... but everything in my checkbox is deleted
after refreshing the page (instead of the values in my database) so how
can I ask for them.
Thx till now...
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received
21 matches
Mail list logo