Hi,
I tried the bundle_fu plugin,
and as of moving to production, I noticed, that my views render in
70ms without bundle_fu, and about 1800ms with it!
It's not always 1800 but most of the time.
Is this ok? Shouldn't I turn some caching in bundle_fu to on?
Hi,
I have a question about testing ...
It's controller test ...
First I do something like this:
xhr :get, :status, :id = homeworks(:one).id, :status = done
The :status action sets homework's length_done to length.
So I do this:
assert = homeworks(:one).length ==
an error message when not created successfully do
end
HTH
-Brian
On Wed, Feb 4, 2009 at 9:06 AM, zero0x zero0...@gmail.com wrote:
Hi,
I have a question about testing ...
It's controller test ...
First I do something like this:
xhr :get, :status, :id = homeworks(:one).id, :status
Hi,
I've bought Peepcode's RESTful Rails screencast. It's pretty
interesting - and there are a couple of things I didn't know at all.
Please where do I find some complex tutorial to RESTful Rails? In API?
Or where?
Thank you
--~--~-~--~~~---~--~~
You received
Hey there ..
This is part of restful_authentication:
def access_denied
respond_to do |format|
format.html do
store_location
redirect_to :controller = session, :action = new
end
format.any do
request_http_basic_authentication 'Web
(params[:id])
works = @user.my_works
puts works #(u'll get the works that are related to u)
end
On Sat, Jan 24, 2009 at 1:00 PM, zero0x zero0...@gmail.com wrote:
Hey there,
I have restful_authentication. I can do this in my controller, view,
etc
current_user
But I can't do it when
Hi,
my restful_authentication plugin is always logging in using http auth.
But only in IE. In Safari/Firefox in displays a form.
Where do I tell it to use html login form?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Hey there,
I have restful_authentication. I can do this in my controller, view,
etc
current_user
But I can't do it when I'm in model. I need to put it to model,
because there's method like my_works - which finds all works of
current user.
Please help someone. Thank you
Hi, I had to install 32 bit MySQL in order to get Rails running on my
Mac.
On Jan 7, 5:16 pm, jabauer jab...@gmail.com wrote:
On Monday I upgraded from Rails 1.2.6 to 2.2.2 (also upgrading to
gem 1.3.1) but in the process have lost the ability to connect with my
mysql database. After finally
I suppose you're using prototype, so you just need to get the value of
the select box.
$(id-of-the-element).getValue()
On 28. Dec., 15:04 h., Zhao Yi rails-mailing-l...@andreas-s.net
wrote:
Frederick Cheung wrote:
You have to tell remote function what to submit, it's not going to
guess
You can also change the layout by calling layout 'layout' from the
controller class.
Joshua Partogi napísal(a):
Dear all,
I am still new in rails, and I realised that in rails each model has
its own layout/template located under layouts/
Now my question is, is it possible to have only one
Hi Rubyists!
I'm quite new to Ruby/Rails thing, so please be patient with me :)
(skip to next if you want to quickly see the
problem)
I am learning by creating something like timetable application (like
in school). There are days 1-5 and lessons 1-8.
I have to db tables,
Check source code and find select name=xxx
The xxx value is what you can access with params[:xxx]
--
Good advice: Download Firebug plugin for Firefox, which shows all the
communication between page and server, and you'll see all the POST
variables with the values :)
On 28. Dec., 14:08 h.,
frederick.che...@gmail.com
wrote:
On 28 Dec 2008, at 13:04, zero0x wrote:
So I created a new class, called timetable, and I would like to create
methods like 1_1, 1_1=, 1_2, 1_2= - getters and setters for each
lesson of each day.
Well you'll have to pick different names
LOL, send method does the job :)
I didn't think it would be that simple!
--~--~-~--~~~---~--~~
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
is 'Getting Started with Rails'
That along with all the others can be found
here:http://guides.rails.info/index.html
A great place to start
HTH - Dave Porter
On Dec 25, 9:52 pm, zero0x zero0...@gmail.com wrote:
Hey there,
I'm a web developer, I've already mastered (well at least it sounds
16 matches
Mail list logo