Displaying 20 results from an estimated 4000 matches similar to: "RoR Tutorial : clear password field"
2009 May 09
7
does somebody use XCode on Mac for RoR instead of TextMate?
does somebody use XCode on Mac for RoR instead of TextMate? I wonder
how is it compared to TextMate... TextMate uses the default font of
Monaco... the Xcode screenshot on Wikipedia uses Courier... I wonder if
Xcode looks as good as TextMate when the font is changed to Monaco as
well? Thank you.
--
Posted via http://www.ruby-forum.com/.
2009 Sep 24
13
Rails Authentication Tutorial
Does anyone know a good authentication tutorial they can suggest? I''ve
tried several restful authentication ones and an authlogic one on
RailsCast. But with each one I try, something seems to be missing in
the tutorial and I can''t get it to work. I''m new to Rails so it''s
possible user error on my part.
I''m on Mac OS X 10.5 and I generate all my apps in
2010 Jan 30
1
RoR & YML
In
ruby\lib\ruby\gems\1.8\gems\actionpack-2.3.5\lib\action_view\locale\en.yml
I see
activerecord:
errors:
template:
header:
one: "1 error prohibited this {{model}} from being saved"
other: "{{count}} errors prohibited this {{model}} from being
saved"
# The variable :count is also available
Where does "model" come
2009 May 28
2
two ROR project with one application server , is it possible
two rails project with one application server(only one mongrel) ,
is it possible ?
if yes , then how ?
--
Posted via http://www.ruby-forum.com/.
2009 Oct 23
10
Rspec Tutorial
Hi Everybody,
Greetings!!
I want to use rspec for my applications. Please guide me with the Rspec
tutorial.
I want a good example to start with.
Please help me by providing good tutorials on Rspec to start with.
I actually followed the example from http://rspec.info
Please guide me on more examples.
Waiting for your reply.
--~--~---------~--~----~------------~-------~--~----~
You received
2009 Feb 12
4
Easy RoR <-> Javascript syntax question
Hi there,
a simple n00b question:
I have that Javascript snippet on my page (see below; taken from jquery,
actually).
I want to pass it the "@cities" array from the controller. But what''s
the correct syntax, here?
See the 3rd line:
========================================
<script>
$(document).ready(function(){
var data = @cities; <---- that''s
2010 Dec 06
57
Which RoR to run on Mac OS X for a particular RoR app.
I am extremely new to RoR, I am. I am slowly but surely learning Ruby
and the Rails concepts but the environment is confusing.
I have an application that was written for my company in RoR. It is on a
ubuntu server that is going to be shut down. I want to move the app to
my two Macs (one Leopard and one Snow Leopard). We want to keep the app
to demo a business concept but it can run locally
2009 Jun 22
5
has_many through , or habtm , using form
i think there ara two ways of relate products and categories ,
basically i want to fix one product(e.g hp dv7....) to some categories
(notebook,17"notebooks...)
i made a table named categorization(incuding category_id,product_id
fields) then in models i write these codes below
class Product < ActiveRecord::Base
has_many :categories, :through => :categorizations
2009 Aug 19
10
acts_as_list / acts_as_tree / acts_as_nested_set - which one
I am creating forum application which needs usage of acts_as_list or
acts_as_tree or acts_as_nested_set.
I am unable to decide among these. please could some one recommend from
their experience?
--
Posted via http://www.ruby-forum.com/.
2009 Oct 27
14
Authlogic Password confirmation is too short Error. NEED HELP.
Hi:
I am using authlogic, and following railscast tutorial. I am running
into this error code with the password confirmation.
authlogic password confirmation is too short
Has anyone experienced this error? I need your help.
Thanks in advance for your help.
2009 Aug 13
10
default value if textfield is empty
Hey all,
im not sure where to set a default value if a textfield is empty?
For now i do it in the controller, and check if the submitted parameter
is blank.
But this seems not to be the best solution...
Thanks for your help!
--
Posted via http://www.ruby-forum.com/.
2010 Aug 30
16
<b> tag in HTML 5 (was Re: Re: assert_select for <p><b>text</b>value</p>)
On 30 August 2010 15:47, Marnen Laibow-Koser <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:
> Colin Law wrote:
>> I have the following html
>> <p><b>text</b>value</p>
>> I can use
>> assert_select "p>b", "text"
>> to check the text portion, and
>> assert_select "p", "value"
2010 Jun 14
7
"NoMethodError in AdminController#index" error
hi, im totally a newbie so i have got no idea whatsoever why i got this
error, the thing that happend was i was doing a little coding along with
the lynda.com rails series that i got this error.
well as u can see this is the error which i get on terminal, but there
is another one in browser too which says : "NoMethodError in
AdminController#index " u can see it in the picture here :
2009 Sep 01
9
Ruby on Rails Project Opportunities
Hi
I am currently recruiting for a number of freelance contracts and
permanent internal positions, both junior and senior, for Europe''s
largest and most dynamic Ruby on Rails development projects, offering
the chance to work alongside some of the industry''s leading figures in
the Web 2.0 development community. Selected locations include Germany
(eg Berlin, Munich, Hamburg,
2010 Dec 21
8
Rails - escape_javascript without all the \n\n\n\n\n
Hello, I''m using escape_javascript to return a partial to the browser
via ajax.
Something like:
$("#inject").html("<%=escape_javascript(render :partial =>"feed/
index")%>");
Problem is escape_javascript ends up outputing all kinds of wasted
space like
\n\n\n\n\n \n
Is there anyway in Rails to escape_javascript more
2010 Sep 23
8
HowTo; Rails 3, having Tabs that load content via jQuery ... No Page Refesh
Hello, I''m interested in learning the correct/smart approach for
implementing a web page with tabs and a content panel... When the tab
is clicked by the user the tab''s content is fetched and inserted with
jQuery... no page refresh...
Example, Facebook, when you click Photos or Events, it doesn''t refresh
the browser, just replaces the content with AJAX in the
2010 Dec 23
36
Weird issue with converting floats to integer
Any idea why this calculates the integer the way it does?
irb> ("291.15".to_f * 100.0).to_i
=> 29114
Thanks,
Tom
--
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 group, send email to
2009 Oct 20
10
REXML
Hi,
How to embed ruby code in xml .
here is my XML template :
string = <<EOF
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ozxmlscene>
<ozml version="4.0">
<styleRun style="1091379" offset="0" length="7"/>
<text>The End</text>
<object value="84"/>
<object
2009 May 07
12
is there simpler way to export html within xml
Hi,
we''re exporting a lot of html code within xml, our current method works
but it''s very messy - far from perfect, is there a better way to do
this.
an example of our controller code is
html = html + "<img src="/icon/icon_email.gif"
2010 Dec 20
11
rails code to sql
Is there a relatively easy way to do this code in sql?
@categories=Category.all.reject{|n| n.blank?}.sort{|a,b| a.name
<=>b.name}.collect{|t| [t.name,t.name.downcase.gsub('' '',''_'')]}
--
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