Thank you Fred !
Meanwhile I simply realized that I had to submit a new user with all
attributes and not just 2 :
> that was why the validation did not work and the transaction was rolled
back.
Thanks for the user2.errors hint...
Francesco
On Friday, May 25, 2012 10:16:59 AM UTC+2, Frederick
On May 24, 2:58 pm, Francesco De Grandi wrote:
> At the end of Rails Tutorial chapter 6, I have the
> development .sqlite3 db : 1 table and 1 row (= user id:1 see below) :
>
> > when running from the Rails Concole Sandbox, to create other rows/records,
> > I can not save or create
> > here is w
I see you use linux, most distributions provide a valid build and
headers for readline, please use quick fix instruction from top of
this page: https://rvm.beginrescueend.com/packages/readline/
On Mar 2, 10:51 am, Anurag Sachan wrote:
> I also use rvm pkg install readline but it did not help me
I also use rvm pkg install readline but it did not help me
On Friday, 2 March 2012 15:20:01 UTC+5:30, Anurag Sachan wrote:
>
> I got this error in my terminal when i type rails c:
>
> -
On Jan 6, 2011, at 5:01 PM, Sawan T. wrote:
"I have gem list rails showing me 3.0.3, 3.0.0 and 2.3.5 is it
anything
to do with your app_config.rb and I dont see any in vendor/rails its
all
have some plugin folders. I am working with tutorials which needed
those
rails version and 2.3.5 sinc
Marnen Laibow-Koser wrote in post #972937:
> Sawan T. wrote in post #972932:
>> Marnen Laibow-Koser wrote in post #972926:
>>> Sawan T. wrote in post #972924:
Hi I have couple of issues with my application. I have an app checked
out from a repository on to my local machine. rake commands
Sawan T. wrote in post #972932:
> Marnen Laibow-Koser wrote in post #972926:
>> Sawan T. wrote in post #972924:
>>> Hi I have couple of issues with my application. I have an app checked
>>> out from a repository on to my local machine. rake commands like rake
>>> db:create and rake db:migrate and g
On 6 January 2011 20:55, Sawan T. wrote:
> Marnen Laibow-Koser wrote in post #972926:
>> Sawan T. wrote in post #972924:
>>> Hi I have couple of issues with my application. I have an app checked
>>> out from a repository on to my local machine. rake commands like rake
>>> db:create and rake db:mig
Marnen Laibow-Koser wrote in post #972926:
> Sawan T. wrote in post #972924:
>> Hi I have couple of issues with my application. I have an app checked
>> out from a repository on to my local machine. rake commands like rake
>> db:create and rake db:migrate and gem list, gem install are working with
Sawan T. wrote in post #972924:
> Hi I have couple of issues with my application. I have an app checked
> out from a repository on to my local machine. rake commands like rake
> db:create and rake db:migrate and gem list, gem install are working with
> the app but not any other commands like rails
i have the same problem and i dont use a IDE , im on ubuntu 10.04 rails
3.0.1 and ruby 1.9.2 with rvm
check this out
time rspec spec/models/user_spec.rb
...
Finished in 0.80685 seconds
3 examples, 0 failures
real0m19.700s
user0m18.045s
sys0m1.332s
less than a second for the test a
I've had some success with snailgun, it does pretty much what you are
asking for (speeding up preload)
http://kresimirbojcic.com/2010/11/speeding-up-rails-testing-cycle/
Best Regards,
Kreso
On Oct 16, 12:03 pm, Michal Burak wrote:
> When I run script/console I have to wait like 10 seconds to t
Michal Burak wrote in post #954952:
> The speed is the same with or without RadRails.
What operating system are you using? I have heard this complaint many
times with certain Windows versions (may all versions).
If you're on some form of UNIX/Linux based system then your problem is
likely somet
The speed is the same with or without RadRails.
--
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 g
On Oct 30, 7:05 pm, Frederick Cheung <[EMAIL PROTECTED]>
wrote:
> You're calling Array#rand (a private method Array defines), whereas
> you want to call Kernel#rand. Replace rand with Kernel.rand and you
> should be ok
That was it. Thanks for the tip. I didn't know Rails added in it's own
rand me
On 30 Oct 2008, at 16:22, Farrel wrote:
>
>
> As you can see if I execute the code myself it seems to work. If I
> copy that same code into irb it works perfectly.
>
You're calling Array#rand (a private method Array defines), whereas
you want to call Kernel#rand. Replace rand with Kernel.rand a
On Oct 5, 2008, at 7:22 PM, Raistlin Majere wrote:
>
> I was reading a book and following the instructions in it.
>
>>> class Story < ActiveRecord::Base; end
> => nil
>>> story = Story.new
> => # updated_at: nil>
>>> story.class
> => Story(id: integer, name: string, link: string,
> created_at: d
17 matches
Mail list logo