Displaying 20 results from an estimated 100 matches similar to: "Show a value in view"
2011 Mar 09
1
Javascript call from view.
Hello All,
I am working on a Microblogging application.(majorly written in Ruby
on Rails).(the application is similar to twitter) .There is a timeline
showing messages by the logged-in user and his/her
followers.
Each message has a reply link which has been coded as follows
<%=link_to "Reply" ,{},:href=>"#",:class => "replyMessage
noBackgroundImage" ,:title
2011 Sep 22
3
uninitialized constant Spec::Rails (NameError) when running spec command
I get the following error when trying to run a spec command on a model
test.
The command is :- C:\Rspec Test\spec\models>spec bank_account_spec.rb
The error is :-
c:/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-rails-1.3.0/lib/spec/rails/
matchers/ ar_be_valid.rb:2: uninitialized constant Spec::Rails
(NameError) from c:/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-
rails-1.3.0/lib/spec/ra
2006 May 08
4
<%= text_field %> - how to set the value to session name?
I''m trying to automatically fill a "posted_by" text by with whoever is
logged into the session. How do you set the value attribute using "<%=
text_field ... %>"???
I''ve tried:
<%= text_field ''post'', ''posted_by'', ''value'' =>
User.find(session[:user_id]).name.capitalize) %>
But I get
2008 Nov 11
7
problem starting mongrel server
Hi, I am newbie started learning ruby on rails i had an application
which used to run pretty well latter i upgraded from webbrick to mongrel
1.1.5 then I am getting the
foloowing errors and a default application runs on port 3000 by name
iphone configuration utility
i am unable to attach the screen shot as it is saying file to large.
Error which i get in terminal is listed below
=> Booting
2008 Nov 11
1
Problem Starting Mongrel
Hi, I am newbie started learning ruby on rails i had an application
which used to run pretty well
latter i upgraded from webbrick to mongrel 1.1.5 then I am getting the
foloowing errors and a default application runs on port 3000 i have
attached its screen shot as an attachement and error which i get in
terminal below
=> Booting Mongrel (use ''script/server webrick'' to force
2010 Dec 14
2
writing sample values in to a file
Dear all,
I am relatively new to R. I would like to know how can we write the
realizations (for example generated through rnorm or runif) in to a data
file. It would be very inefficient to first generate values and then write
them in to file using "write" function. Instead, is there a way to generate
1 value at a time and append them in to the file.
The question might be trivial to
2009 Apr 01
10
FOR IMMEDIATE RELEASE: NEW CHANNEL DRIVER FOR ASTERISK RELEASED TODAY
* NEW CHANNEL DRIVER FOR ASTERISK 1.6 AND VOXSWITCH 3 ADDS AUDIO AND
VIDEO TO MICROBLOGGING!
In a surprising move, Digium in partnership with Edvina today released
a new channel driver for Asterisk, chan_tweet. The driver connects
seamlessly to several microblogging platforms, including Twitter,
Facebook, Laconi.ca/Identi.ca and GSM text/SMS. The main feature of
this new module is to
2010 Jun 09
4
db connection issues in production but not in dev mode
We have an application Ruby on rails, which fires a number of queries to
the database. I Suspect it is connection timeout error or something
When we run the application in development mode, it works as expected.
However when we switch to Production mode, we get the following error in
Postgre console:
--------------------------
LOG: could not receive data from client: No connection could be made
2010 Jan 11
1
Using mapstraction
Folks,
I just wanted to drop a quick note pointing out that the next version of
the StatusNet microblogging software uses Mapstraction to provide a
mapping interface. It uses the OpenStreetMaps flavour by default.
It''s in use in production on identi.ca, for example:
http://identi.ca/evan/map
Thanks for a great piece of software!
-Evan
--
Evan Prodromou
CEO, StatusNet, Inc.
evan
2011 Sep 05
2
I’m crazy about rails
I’m crazy about rails. it is a so beautiful thing! I want to try my
best to learn it well. anyone who can share some experience and
resource. thanks
--
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
2007 Oct 14
0
libswfdec/swfdec_as_strings.c libswfdec/swfdec_player.c
libswfdec/swfdec_as_strings.c | 1 +
libswfdec/swfdec_player.c | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 708448156a9973c48b2f86ec3f8f6ece4e2ab8fa
Author: Pekka Lampila <pekka.lampila at iki.fi>
Date: Sun Oct 14 17:58:14 2007 +0300
Call onKeyDown and onKeyUp on Key object, not Stage object
diff --git a/libswfdec/swfdec_as_strings.c
2004 May 22
10
Tabbing between Notebook pages
Skipped content of type multipart/alternative-------------- next part --------------
A non-text attachment was scrubbed...
Name: wxTony.rbw
Type: application/octet-stream
Size: 10436 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/wxruby-users/attachments/20040522/9c1889d0/wxTony.obj
2006 May 23
6
Autocompleter - up arrow moves cursor to start of input box
When using the autocompleter and scrolling through options, if you
press the up arrow key the input field cursor moves backward. Some of
my users have reported that they find this very distracting. Does
anyone know why this happens, or where in the code I could fix it?
Steps to recreate:
1. Go to http://demo.script.aculo.us/ajax/autocompleter
2. Type in a letter (or two or three)
3. Arrow down
2011 Sep 30
1
Related combobox
hello,
i have 3 comboboxes, i want to load 2nd combobox based on the
value selected in 1st combobox. and 3rd combobox should be loaded
depending on the value selected in the 2nd combobox.
i have used observe field for 2nd and third combobox , it works
for the first combobox but not the second one.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you
2003 Aug 20
1
5.1-R: zero byte core file.
While using 5.1-RELEASE, I find that if my application program seg
faults, it produces "programname.core"; but it is 0 bytes.
I ran the exact same program on another machine that was running
4.4-RELEASE, and I do get a core file that I can use with gdb.
I'd really appreciate if someone could help me resolve this.
Additional details:
- It is not specific to the application
2006 Apr 21
11
Phone Numbers in Rails/MySQL
Is there any easy way to make a fancy looking form to take phone
numbers. Something that looks like this:
[ ] - [ ] - [ ] ext: [ ]
Then when you submit it it''s combined into one string in the database.
Optimally it would auto-switch from field-to-field after you fill each
field.
Has anyone seen anything like this in Rails?
Thanks,
Adam
--
Posted via
2011 Sep 01
2
Partial Page update and related combobox
hello,
I am doing a rails project and i am new to rails, am stuck
with some problems.
1) I have a div container at the left side of the page just like
a sidebar which contains different links. And the right side of the page
is meant to display the content, which is also a div container . When i
click any of the links in the sidebar respective pages must be displayed
in the right
2006 Jul 31
6
Popup Calendar and DateBoxEngine and Change Made ...
Community,
I have been putting off implementing a Date selector for too long.
Tonight, I finally put it in. I made the choice to go with the datebox
engine.
Once I got it installed and working, I realized I didn''t like the way it
required you to call it. Example:
<% @dateField = model.date %>
<%= date_box %>
or...
<% @dateField1 = model.date %>
<%=
2008 Jan 19
10
lose focus event?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I''m new to wxruby, and I haven''t found any answer with google: Is
there a way to capture a lose focus event on controls, such as a combo
box? All my experiments show events when changing the text, but not
when leaving the box.
I want to make a combobox that autocompletes if I press tab (or down
arrow or something), but if I
2007 Feb 18
11
Tabulation with ENTER key
Dear all,
I think this can be interesting for others too. For a while I tried to
solve that problem - how to tabulate with ENTER/RETURN key too and not
only with TAB.
You know the problem - you are entering a lot of numbers from numeric
keypad but you need to go far left to press TAB. This prevents one-hand
data entry and prohibits web apps to be used by accountants, for instance.
Here is a