on Stackoverflow:
http://stackoverflow.com/questions/15674838/can-not-determine-issue-in-my-factories-with-factory-girl-in-rspec
Thanks
--
Please consider the environment before printing this email.
Regards,
Surya
--
You received this message because you are subscribed to the Google Groups
.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
--
Please consider the environment before printing this email.
Regards,
Surya
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post
, Jan 25, 2012 at 04:34, naga surya surya.naga...@gmail.com wrote:
i am not reflecting the error message at the
field, what should i have to do to diplay the error as start time
should be before end time.
Probably your view is not checking for errors on the object. You need
code
I had two fields in my form i.e start and end time fields, i am
validating times but i am not reflecting the error message at the
field, what should i have to do to diplay the error as start time
should be before end time.
please help me
validate :valid_times
def valid_times
if start_time =
.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
--
Please consider the environment before printing this email.
Regards,
Surya
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post
-talk@googlegroups.com.
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
--
Please consider the environment before printing this email.
Regards,
Surya
from this group, send email to
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
--
Please consider the environment before printing this email.
Regards,
Surya
--
You received this message because you
yves_duf...@mac.com wrote:
thanks , That's better than what I did first,
but is there any way to match to a specific name ( short_list,
medium_list, long_list ) based upon the parameter 1, 2, 3
On Aug 22, 1:12 pm, Surya raj.sury...@gmail.com wrote:
try to make it like this:
match
options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
--
Please consider the environment before printing this email.
Regards,
Surya
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post to this group, send
,
Surya
--
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 unsubscribe from this group, send email to
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options
?hl=en.
--
Please consider the environment before printing this email.
Regards,
Surya
--
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 unsubscribe from this group
, Aug 19, 2011 at 2:18 PM, merbivore eshward...@gmail.com wrote:
Yeah,
Can we do that after find query that i mentioned above. I want to
apply for all records that i got from find query.
How can i do that ?
On Aug 19, 1:43 pm, Surya raj.sury...@gmail.com wrote:
In ruby if you have a hash
of
_show.html.erb which I have on my sub domain.
Many Thanks,
Surya :)
--
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 unsubscribe from this group, send email
hey Thanks for your kind response. So, what I should do to achieve the
same?? Any idea?
On Sat, Aug 13, 2011 at 6:29 PM, Walter Lee Davis wa...@wdstudio.comwrote:
On Aug 13, 2011, at 6:08 AM, Surya wrote:
I have an action email in my controller of application running on
www.example.com
.
--
Please consider the environment before printing this email.
Regards,
Surya
--
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 unsubscribe from this group
.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
--
Please consider the environment before printing this email.
Regards,
Surya
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post
printing this email.
Regards,
Surya
--
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 unsubscribe from this group, send email to
rubyonrails-talk+unsubscr
this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
--
Please consider the environment before printing this email.
Regards,
Surya
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post to this group, send email
and other 2 to US Region. So,
when I do this -
AWS::S3::Bucket.find(bucket1)
it shows me this error:
AWS::S3::PermanentRedirect: The bucket you are attempting to access must be
addressed using the specified endpoint. Please send all future requests to
this endpoint.
from
/home/surya/.rvm/gems/ruby
.
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
--
Please consider the environment before printing this email.
Regards,
Surya
--
You received this message because
/rubyonrails-talk?hl=en.
--
Please consider the environment before printing this email.
Regards,
Surya
--
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 unsubscribe from
Thanks Frederick, I got it :)
I did this:
FasterCSV.foreach(path_to_csv, :col_sep = ';', :quote_char = ') do
|row|
Used row here!
end
And it removed ' from the string.
On Sat, Mar 26, 2011 at 3:32 AM, Frederick Cheung
frederick.che...@gmail.com wrote:
On Mar 25, 4:56 am, Surya raj.sury
frederick.che...@gmail.com wrote:
On Mar 24, 5:22 am, Surya raj.sury...@gmail.com wrote:
So what could be the possible solution? I wasted my whole day trying to
figure out the issue. But didn't get anything related with this :(
convert the text to utf8 before you try and parse it.
Fred
So what could be the possible solution? I wasted my whole day trying to
figure out the issue. But didn't get anything related with this :(
On Thu, Mar 24, 2011 at 12:20 AM, Frederick Cheung
frederick.che...@gmail.com wrote:
On 23 Mar 2011, at 13:42, Surya raj.sury...@gmail.com wrote:
Hi
@googlegroups.com.
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
--
Please consider the environment before printing this email.
Regards,
Surya
--
You received
+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
--
Please consider the environment before printing this email.
Regards,
Surya
--
You received this message because you are subscribed to the Google Groups Ruby
Hi,
I am very new to Ruby on Rails. I am going through some books as
reference. When I was running my app I mistaken place a letter like:
localhost:3000/s and as there was no matching for s in my route.rb I
get this error:
Routing Error
No route matches /s with {:method=:get}
So, my question is
It works. Thanks a lot. That's what I was looking for.
On Thu, Dec 9, 2010 at 9:12 PM, radhames brito rbri...@gmail.com wrote:
yes but be careful, if search engines recieve status 200 for something in
you site that does not exist it will be indexed falsely as some thing that
exist in you
If you are using rails 2.x version then your command should be: rails new
Project_Name -d mysql
and if it's rails 3 then type rails Project_Name -d mysql
On Fri, Dec 10, 2010 at 1:47 AM, Tara Keane li...@ruby-forum.com wrote:
I'm following instructions in a book and it says to enter the
deprecated in Rails 3.
On Fri, Dec 10, 2010 at 12:15 PM, Surya raj.sury...@gmail.com wrote:
If you are using rails 2.x version then your command should be: rails new
Project_Name -d mysql
and if it's rails 3 then type rails Project_Name -d mysql
On Fri, Dec 10, 2010 at 1:47 AM, Tara Keane li
type rails -v in console to check its version.
For Rails 3 (latest version) try this command: rails server
On Tue, Dec 7, 2010 at 11:47 PM, Tara Keane li...@ruby-forum.com wrote:
I downloaded the latest version of rails but I don't know how to check
that...
I did create a project already.
:in `run'
/home/faststream/Desktop/fstech Desktop
[Surya]/projects/locorent/config/environment.rb:9
/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
/var/lib/gems/1.8/gems/activesupport-2.3.8/lib/active_support
such a condition without
reinstalling whole things related to rails.
On Sat, Dec 4, 2010 at 7:13 PM, Frederick Cheung frederick.che...@gmail.com
wrote:
On Dec 4, 8:59 am, Surya raj.sury...@gmail.com wrote:
Hi,
I am trying to migrate my project database on to other system.
rakedb:create is working
Robert Walker wrote:
Rails does that so it can reconstitute them into a date attribute
properly.
If you really want three separate parameters then why not just use
regular select_tag helpers and give them whatever names you want, rather
than fiddling with overriding the behavior of the
Hi there,
Functions like select_day, select_month, or select_year by defaults have
a field name of date[day], date[month], and date[year]
respectively. Well, I want to change it to be as simply as day,
month, and year. Do rails have a built in function to do that?
In the documentation, I found a
Hi all,
In my controller, I have an action to render JSON string containing
current user's account information, except for his ID and hashed
password. This is the snippet:
# Fetch the account information of the current user
def fetch_data
record = User.find session[:user_id]
render :json =
Conrad Taylor wrote:
The above seems correct based on your render statement. What's the
problem?
-Conrad
The data attribute should be an object, not a string.
Let's compare the difference with the following snippet:
render :json =
{
:success = true,
:data = record # Without to_json
37 matches
Mail list logo