Displaying 20 results from an estimated 2000 matches similar to: "Looking for a framework to report user feedback and form errors"
2008 Jun 09
16
display "..." for text LONER than a certain length...
I am working on an app that has user generated content. What I''d like
to do, is display X characters of, say, a title and put "..." for the
rest. This sounds like something you see in soc networking type app
and wondering if there is some code out there to do this. thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed
2008 Apr 19
4
Displaying external url's
I am a rails beginner and I am having trouble displaying external urls
on view.
This is what i have in DB for ex: www.rubyonrails.com, if i try to
construct the url on the page using link_to the url formed is -
http://localhost:3000/www.rubyonrails.com.
Can someone help me in fixing this issue.
Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you
2008 Apr 20
10
Actionmailer not working [no errors]
hi,
I have a little problem with actionmailer 2.0.2
The problem is that I am trying to send mails and development.log says
that everything is ok but I can''t find any mails in my mailbox.
I checked my sendmail with PHP function "mail()" - works nice.
/var/log/mail.log don''t drop any lines when sending mails with
actionmailer.
So in conclusion no errors and no way to
2009 Mar 03
1
save the layout using igraph
Hi R users,
I am using built-in functions in igraph package to draw networks . I need
to compare several network with exactly the same structure but with edge
hightlighted differently. I am wondering if there is a way to save the
layout so that every graph will look the same as each other except for the
colors of edges. Or is there any parameter I can set for this purpose??
Thanks in advance,
2008 Apr 24
2
select_tag and link_to
Does ROR allow passing the chosen value from a drop down using
select_tag into link_to ?
Basically I want to do something like:
<%= select_tag( "name", options_for_select(%w{John Doe Jane })) %>
<%= link_to "Delete",
{ :controller => "myname", :action => "add",
:id => name },
2008 Feb 22
5
routing?
Hello RoR Developers
I want to create parameter in routes.rb which is wanted to be used in
javascript code in view page. there is select object in my view page and
this parameter will get value from select object however that my select
object is not in form.
how can I create parameter in routes.rb and equals to option value.
thank you very much for any commend.
--
Posted via
2013 Mar 19
0
Implementing a dummy DFR framework for feedback
Hey guys, hi :) I have some ideas about implementing a general DFR
framework that will be able to generate any DFR model.
I'm thinking of implementing a dummy DFR framework that will be capable of
generating a fixed named scheme right now but can be extended later to
include all the schemes.Is it okay if I send a pull request for such a
dummy framework to get it reviewed by the community so
2008 Jun 15
7
Getting "no block given" on find method - rails 2.1
I am trying to do a simple find through the current_user but get an
exception. Either someone spiked my Starbucks coffee and I am screwing
up all over the place or there is something wrong.
def index
@league = current_user.leagues.find(13)
end
# Error
LocalJumpError in Admin/schedule todosController#index
no block given
If I pass a block to it it works fine, but it is just messy:
=====
2008 Apr 19
1
form_for question
I have a following snippt to make a form.
<% form_for :post, @post, :url => { :action => "create" } do |f| -%>
<%- end ->
What does ":post" and "@post" do respectively?
If my understanding is correct, @post is there because I set "@post =
Post.new" in the action. But I don''t know what ":post " is for.
Tek
2008 Sep 28
2
passing variable between methods
How can I pass @member varible from def member to def name and insert it
into name_id? These methods are in the same controller.
def member
@member = params[:member] || ''''
member = @member
end
def name
name_id = @member
end
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are
2008 May 30
1
how to use RMovie
hello i''m new to rails,
actually working in Flex 3
i want to ask that how actually works RMovie to convert into flv on
rails which r i uploaded from flex.
Video r uploaded successfully , but how to convert it and happen
related work(like snapshots,etc).
thx you
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
2008 Jun 06
1
tinymce and Rails 2.0
is there some trick to installing tinymce w/ rails 2.xx ?? None of the
old intructions I''ve found seem to be working.
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To
2008 Apr 19
3
How to find nil object error in the rails application?
After I added some plugins to rails my application it begin to give
following error.
Error during failsafe response: You have a nil object when you didn''t
expect it!
The error occurred while evaluating nil.symbolize_keys
(originally You have a nil object when you didn''t expect it!
The error occurred while evaluating nil.symbolize_keys)
But there is no stack trace I dont
2008 Jul 04
3
Linkt_to problems
I can''t explain where those differences come from.
In one Project I can use the link_to without any problems.
Like this:
<%= link_to "LINKNAME", :action => "destroy", :id => ID %>
But in another project... That happens
<%= link_to "delete", :action => "destroy", :id => ticket.id %>
<%= link_to "edit", :action
2008 May 18
2
Rendering data in tables
Hello all,
I am new to Rails.
I don''t know whether it is possible are not.
In my application, I need get data from one table , then arrange these
data in table in textfield, then I need to edit data in all rows in
single form.
At the end I need to save these data back to databse.
How can I do this
Is this possible
<%= tag("input" , {:type => '''',
2008 Jun 09
4
YUI vs GWT vs ExtJS vs ????
I would like y''all''s opinions on ease of implementation into Rails,
quality and quantity of widgets etc between Yahoo User Interface and
Google Web toolkit and ExtJS. I am just getting ready to invest a
huge amount of effort into one of them and I would like to know what
the community''s experience has been with these toolsets. OR.. is there
a better open source set of
2008 Jul 03
6
mysql gem warning on ubuntu
i just deployed my app on ubuntu with passenger.
i installed the mysql gem as follows:
$ sudo gem install mysql
Select which gem to install for your platform (i486-linux)
1. mysql 2.7.3 (mswin32)
2. mysql 2.7.1 (mswin32)
3. mysql 2.7 (ruby)
4. mysql 2.6 (ruby)
5. Skip this gem
6. Cancel installation
> 3
Building native extensions. This could take a while...
Successfully installed
2008 Apr 30
5
Quick Submit Button Question...
Hello,
Can I pass a variable from a submit button only? I have a form that the
user fills out and I need two different submit buttons - one for ''sync''
and one for ''full push''. I was thinking I could add some sort of param
to the button, but it''s not working... is there a way to do this? I have
this:
<%= submit_tag ''push to
2011 May 04
1
[PATCHv2] virtio-spec: 64 bit features, used/avail event
I'm working on a patchset (to follow shortly)
that modified the notificatin hand-off in virtio to be basically
like Xen: each side published an index, the other side only triggers
an event when it crosses that index value
(Xen event indexes start at 1, ours start at 0 for
backward-compatiblity, but that's minor).
Especially for testing, it is very convenient to have
separate feature bits
2011 May 04
1
[PATCHv2] virtio-spec: 64 bit features, used/avail event
I'm working on a patchset (to follow shortly)
that modified the notificatin hand-off in virtio to be basically
like Xen: each side published an index, the other side only triggers
an event when it crosses that index value
(Xen event indexes start at 1, ours start at 0 for
backward-compatiblity, but that's minor).
Especially for testing, it is very convenient to have
separate feature bits