Hi everyone,
i am using a input type=text in a for loop. but not getting the
data as loop.
also in controller how i will fatch the data of that loop.
Here is my code.
% for pros in @pros%
tr
td%=pros.name%/td
td
p a
i m using a rating system by star.
performance:
terms:
team:
overall:
for overall, i need to calculate it automatically, based on another
three rating.
here is my code.
view:---
table
tr
tdPerformance/td
td%= render :partial = rating , :locals =
Hi,
Thanx for the sugestion regarding the view of the pagination, but the
code is not available in the site,
http://www.smashingmagazine.com/2007/11/16/pagination-gallery-examples-and-good-practices/
I have written the code for the First and Last links in the
collection.rb file as,
def
Hi,
How can I create a multi-select checkbox in a form with a select all
option.
I am currently using the check_box_tag but I dont know how to use the
Select all option in it.
Please suggest a way!
Thanx in advance!
--
Posted via http://www.ruby-forum.com/.
Another alternative, where appropriate, is to use the ruby debugger and
break at the appropriate point to display the object using the debugger
command line.
Colin
2009/5/19 Benjamin Curtis benjamin.cur...@gmail.com
In a view you can do this:
%= debug @some_var %
In a controller or model you
On Mon, May 18, 2009 at 4:41 PM, Jason mccreary.ja...@gmail.com wrote:
I simply mean that I have setup an account with FedEx (API Key, etc).
I will take a look at ActiveShipping, as I also am working on a PayPal
script and leaning towards ActiveMerchant.
Does anyone know if installing
I need a developer(s) for an online client intake questionnaire for
law firms immediately. Developer can telecommute (we are located in
Colorado), must be available immediately and full time. I have
professional design documents as well as a legacy desktop application
and I want a fixed priced
Hello everyone,
I'm having problems with :html = { :multipart = true } in my edit
form. It doesn't returns the image in the parameter, so everything
fails with this errors:
There were problems with the following fields:
* Size can't be blank
* Size is not included in the list
*
Hi,
I'm completely new to Ruby and RoR and yet I have an assignment due in less
than a week =( One part of the assignment states that my RoR app will have
to create a new page each day. I'm wondering what is the best way to get
this done? Should there be a continuous process running on the
Doesn't anyone know how to do or if exist a fork which is able to do
this? It's a pity to don't use this helpful plugin and was perfect for
my purpose
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are
On May 19, 4:54 am, sayeo87 yeosuan...@gmail.com wrote:
Hi,
I'm completely new to Ruby and RoR and yet I have an assignment due in less
than a week =( One part of the assignment states that my RoR app will have
to create a new page each day. I'm wondering what is the best way to get
this
On May 19, 6:47 am, wejrow...@gmail.com wejrow...@gmail.com wrote:
Downloaded the latest rmagic, typed in sudo gem install rmagick, and
got some failures:
Do you have imagemagick installed ?(one of the easier ways is to
install it via macports)
Fred
checking for Magick-config... no
...
On May 19, 6:51 am, Venkat Eee rails-mailing-l...@andreas-s.net
wrote:
Please help me to write an alternative code for below in ROR...
There's nothing built into rails as far as table locks go, so there's
not much more that you can do than that (apart I suppose from wrapping
things up nicely
On Mon, May 18, 2009 at 10:51 PM, Venkat Eee
rails-mailing-l...@andreas-s.net wrote:
Please help me to write an alternative code for below in ROR...
ActiveRecord::Base.connection.execute(LOCK TABLES table_name WRITE)
ActiveRecord::Base.connection.execute('UNLOCK TABLES')
Venkat, what are
On May 18, 10:14 pm, Morgan Morgan rails-mailing-l...@andreas-s.net
wrote:
I don't get it.
or how to fix it.
Exception occurred during reader method compilation.
Maybe 11 is not a valid Ruby identifier?
it isn't. do you have columns of that name ?
Fred
compile error
On May 18, 11:57 pm, fRAnKEnSTEin shirkav...@gmail.com wrote:
hi there,
I am trying to use rails with mootools, everything just worked great.
I have a little problem with the ajax thing, because every time i send
a form with ajax an error occur that said something like
authentication
What do you mean by 'create a new page for each day'?
Colin
2009/5/19 Frederick Cheung frederick.che...@gmail.com
On May 19, 4:54 am, sayeo87 yeosuan...@gmail.com wrote:
Hi,
I'm completely new to Ruby and RoR and yet I have an assignment due in
less
than a week =( One part of the
On May 19, 7:06 am, nishi n.mridut...@gmail.com wrote:
Hi everyone,
i am using a input type=text in a for loop. but not getting the
data as loop.
also in controller how i will fatch the data of that loop.
long version: take a peak at http://guides.rubyonrails.org/form_helpers.html
or
Hey,
I've released 2 screencasts about Rails + Cappuccino (http://cappuccino.org) :
http://bit.ly/CappuccinoRails1
http://bit.ly/CappuccinoRails2
They show how to create a Cappuccino interface for the Rails Weblog
Application (by Ryan Bates).
I though I might share it here too.
Best,
Thomas.
On May 19, 7:50 am, Doel Sengupta rails-mailing-l...@andreas-s.net
wrote:
Hi,
Thanx for the sugestion regarding the view of the pagination, but the
code is not available in the
site,http://www.smashingmagazine.com/2007/11/16/pagination-gallery-example...
I have written the code for the
Davicín .. wrote:
Thank you
You have to check
if params['del_image.x']##
... code to delete the image ...
else
... code to add the image ..
end
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you
OK, thanks, that is pretty much what I have been doing. I thought there
might be a better way.
Colin
2009/5/17 Phlip phlip2...@gmail.com
Colin Law wrote:
I think I have not explained myself adequately. I have no problem with
points 1 and 2 - the test and the implementation for the
I changed a little bit on the script.
When you click on the button the chat would imeditaly respond
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk
Gerda Gorter wrote:
I changed a little bit on the script.
When you click on the button the chat would imeditaly respond
That means the client that clicks will get his/her message imeditaly.
That gives more stability on the chat
--
Posted via http://www.ruby-forum.com/.
Hi!
Say we have a rails active-record-based model called instance which
can have different states - STOPPED, RUNNING, STARTING_UP,
SHUTTING_DOWN, etc...
There is a method #start which changes the instance state to
STARTING_UP only if it is STOPPED.
def start
if self.state == STOPPED
On 19 May 2009, at 09:56, kirill.kuval...@gmail.com wrote:
As you understand if we have multiple concurrent requests for #start,
there is a possibility of a race condition, where two or more
processes are running the if branch.
I want the #start request to be atomic, meaning that only one
Ok ho visto...
mi sembra che stai comprando l'errore con versioni diverse dei vari
camponenti:
windows (ok) = FireBird 2.0 + activerecord-firebird-adapter + FireRuby
linux (errore) = FireBird 2.1 + fb_adapter + fb
Magari sto dicendo una cosa ovvia o magari banale ma secondo me dovresti
I have a 'download' link on one page that causes a zip to be built and
then pushes it back as a file to the browser. I want to write a test to
verify that it does actually push a zip file back but i can't work out
how - can anyone help?
I'm using rspec and selenium. The line to click the
On Tuesday 19 May 2009, kirill.kuval...@gmail.com wrote:
Say we have a rails active-record-based model called instance which
can have different states - STOPPED, RUNNING, STARTING_UP,
SHUTTING_DOWN, etc...
There is a method #start which changes the instance state to
STARTING_UP only if it
priyankeshu wrote:
I just started learnign Rails and i think it's quite cool! I have just
done some basic stuff till now
i was talking to some professional guy who was working in ruby On
Rails for last 1 year and he said that it would be better if i switch
to linux...
My purpose of
http://conceptspace.wikidot.com/forum/t-154517/rails101-getting-started-with-rad-ruby-on-rails#post-483414
On windwos, we could not find a way to execute
`gem --version`
on windows.
The weird thing is this is happening while we are able call 'gem
--version' on DOS directly.
Of course there is
On May 19, 11:24 am, Michael Schuerig mich...@schuerig.de wrote:
Rails gives you optimistic locking automatically for tables that have
the requisite timestamp columns (updated_at). Pessimistic locking you
have to do explicitly. As a guess, I'd say that pessimistic locking is
only worth your
submit_to_remote fails on rails 2.2.2 and rails 2.3.2 but fully
working with 2.0.2
please give me an answer as soon as possible. its very urgent
the code is
HTML
% form_for :todo, @todo, :url = { :action = update_todo } do |f|
%
div
p
labelTodo/label
%=f.text_field
On Tuesday 19 May 2009, Frederick Cheung wrote:
On May 19, 11:24 am, Michael Schuerig mich...@schuerig.de wrote:
Rails gives you optimistic locking automatically for tables that
have the requisite timestamp columns (updated_at). Pessimistic
locking you have to do explicitly. As a guess,
Hi
I need to pass params through url.which should be done in an encrypted
way ..
is there any methods to solve this..
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post to this
The file field must be named uploaded_data, try with that.
Regards.
Franco Catena.
On May 19, 12:48 am, Nerdaniel nerdanie...@gmail.com wrote:
Hello everyone,
I'm having problems with :html = { :multipart = true } in my edit
form. It doesn't returns the image in the parameter, so
I have Results Controller. It has an index action with a corresponding
index view.
In the view their is a search form which is sent to a search action in
the same controller. I wanted to seperate this from the index action
because its pretty heavy and involves backgroundrb, scraping etc.
Once
Hi,
I recently start working on rails. I am writing a plugin for redmine,
right now I am in the start phase. I successfully got the menu display
as custom reports but problem starts when I click the cutom reports
menu. The error generated is:
The page you were trying to access doesn't exist or
I think that linux is really good environment to work in web
development and it has a lot of support from the comunity to solve
problems quickly. Maybe you need try a little how to install a linux
distro and some packages before start with a Rails application over
linux.
I recommend you if you
Sounds like your httpd.conf is missing
Listen 80
But you might want to look for a more Apache specific group to be
asking questions like that, like alt.apache.configuration.
On May 19, 9:04 am, Salil Gaikwad rails-mailing-l...@andreas-s.net
wrote:
Hi all,
I am having trouble in implementing
___
Sent with SnapperMail
www.snappermail.com
.. Original Message ...
On Tue, 19 May 2009 04:03:37 -0700 (PDT) charan mallu_cha...@yahoo.com
wrote:
way ..
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Hi all,
I am having trouble in implementing payment gateway in my application on
joyent server. I need to configure 'http//' url for normal methods and
'https//' for secured methods. For this functionality we need to have
two ports on Apache server, port:80 and port:443. When i configure both
of
I am trying to leverage the daemons gem but I am confused about the
proper way to set up logging. I am able pass options which configure
stdout to go to a log file but it seems like all calls to Rails.logger
are disabled as I see the following message in my output:
I started developing Ruby on Windows and soon realised that if I was
going to deploy anything I'd be better off switching to Linux/Mac. As I
had a spare machine I just installed Ubuntu and set to work going up the
learning curve. It was pretty steep at first because my Ubuntu didn't
like the
I tryed and still the same. =/
On May 19, 8:19 am, Franco Catena francocat...@gmail.com wrote:
The file field must be named uploaded_data, try with that.
Regards.
Franco Catena.
On May 19, 12:48 am, Nerdaniel nerdanie...@gmail.com wrote:
Hello everyone,
I'm having problems with
How can I get sub-totalling in tables?
I have an ActiveResource model which gets it's data from a legacy
Windows app via REST. The records are ordered by date. I need to display
subtotals by week number. It looks like I'll have to code something,
which isn't a problem, but this is such a common
Changed all the permissions, set path etc. but no changes yet...
On 18 Mai, 22:14, Marc Byrd dr.marc.b...@gmail.com wrote:
While I don't recommend this as a long-term solution, it should help know
whether this is the issue (make a backup first w/ current permissions):
chown -R
Are you using Ruby Enterprise Edition? What is PassengerRuby set to in
your Apache configuration? Which version of Ruby is being invoked from
the shell (run which ruby)?
On May 19, 10:00 am, karl kpb...@gmail.com wrote:
Changed all the permissions, set path etc. but no changes yet...
On 18
Two things - the | character should be inside the quotes. And, take a
look at this:
http://forum.symfony-project.org/index.php/m/26063/
for discussion on getting a similar setup running (postfix needs to be
delivering as a user other than nobody).
--Matt Jones
On May 18, 4:38 pm, rcs
charan wrote:
Hi
I need to pass params through url.which should be done in an encrypted
way ..
is there any methods to solve this..
Yes, but I'm not sure that this is a particularly good idea (you might
consider SSL instead). If you can explain why you think you need to do
that, I
Is good know that you solved that and wich was the problem, it is a
good feedback . It could help maybe another person to not do the same
mistake.
Cesar
___
Gnu/Linux count user #416024
Pagina
Mk 27 wrote:
I can't seem to find any reference anywhere to an explanation of what
these errors actually mean (perhaps it has to do with manually adding a
view? The file just contains the words Hello World), altho there are
a few old posts about how to turn it off.
Well adding this to the
Up to this point I have been knee-deep in .NET - ASP.NET, VB.NET, C#
and starting to look into Silverlight 3 Beta. I've been using
the .NET platform for 5+ years now. It's really nice, I don't have a
lot of bad things to say about it.
Currently I'm a one-man shop. I have a few .NET clients
My idea is
1. put one shell script file to create the page which will run every day
at 12:01 am.
2. name the file as today's date.
3. display the file named as todays date.
Simple!
On Tue, May 19, 2009 at 12:58 PM, Colin Law clan...@googlemail.com wrote:
What do you mean by
Hi!
Is there someway to choose the language when creating a scaffolding,
like portuguese or spanish.
Otherwise I have to change, like New - Nuevo
It is not a big problem, but it would be nice.
Thanks in advance!
--~--~-~--~~~---~--~~
You received this message
html code:
script language=javascript type=text/javascript
document.write('input name=TPL_password id=TPL_password
type=password maxlength=20 size=32 tabindex=2/)
/script
my question:
how to locate the password field with watir?
--~--~-~--~~~---~--~~
You
Gianluca Tessarolo wrote:
Ok ho visto...
mi sembra che stai comprando l'errore con versioni diverse dei vari
camponenti:
windows (ok) = FireBird 2.0 + activerecord-firebird-adapter + FireRuby
linux (errore) = FireBird 2.1 + fb_adapter + fb
Magari sto dicendo una cosa ovvia o magari
On May 19, 4:21 pm, 8bit michael.me...@gmail.com wrote:
What are your feelings on this? Have you moved from .NET to RoR?
Windows to Mac? Why? It's a challenge I would like to take on but I
want to be smart about it too.
http://www.softiesonrails.com/ is by people who made that jump (and
Colin Law wrote:
What do you mean by 'create a new page for each day'?
Colin
This is the $64,000 question. If create a new page each day just
means respond to URLs with a date in them or display today's
content, then there is no need for a cron job and the date can just be
processed like
Matt Jones wrote:
Have you tried invoking gem as `gem.bat --version` in IRB? There's a
special case in the config.gem installation code for win32, so I'd
guess that that might solve your problem...
--Matt Jones
On May 19, 6:32�am, Umur Ozkul rails-mailing-l...@andreas-s.net
Yes, I
Frederick Cheung wrote:
[...]
Ignoring the specific technologies, having another tool in your
toolbox is rarely a bad thing, plus learning new stuff is fun.
Yes. Also:
* Ruby is an extraordinarily well-designed programming language.
* Windows is a completely broken OS. That goes double for
Is it possible to annotate models under app/models/some_directory if the
models do not have SomeDirectory namespace?
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Ruby
on
Lucas wrote:
html code:
script language=javascript type=text/javascript
document.write('input name=TPL_password id=TPL_password
type=password maxlength=20 size=32 tabindex=2/)
/script
Someone warned me yesterday that the language=javascript part is
deprecated and should no longer be
On May 19, 12:37 pm, Najam Alvi rails-mailing-l...@andreas-s.net
wrote:
Session ID: acbd4b9697b41f837ef990b0e2e0e807
Parameters: {action=index, controller=reports}
Rendering template within layouts/base
Rendering common/404 (404)
Filter chain halted as [:find_project]
On Tue, May 19, 2009 at 8:45 AM, Mk 27 rails-mailing-l...@andreas-s.net wrote:
Also very disappointed that a *web interface* API does not include a
search function (!), meaning I had to use grep
had to? you meant totally enjoyed the opportunity to, right? :-)
Anyway, see:
Milan -
On 19-May-09, at 12:35 PM, Julian Leviston wrote:
On 20/05/2009, at 2:08 AM, Milan Dobrota rails-mailing-l...@andreas-s.net
wrote:
Is it possible to annotate models under app/models/some_directory if
the
models do not have SomeDirectory namespace?
--
Posted via
Hi
You can create your own generators...
People may have already created ones for foreign languages - have a
google.
Blog: http://random8.zenunit.com/
Twitter: http://twitter.com/random8r
Learn: http://sensei.zenunit.com/
New video up now at http://sensei.zenunit.com/ real fastcgi rails
I'm already using the plugin. The thing is that the models are not in
the app/model directory but they are located one directory down, like
app/model/advertising
The plugin expects models to be prefixed with Advertising:: namespace
which is not the case. Is there any way to annotate them
On 20/05/2009, at 12:57 AM, Morgan Morgan rails-mailing-l...@andreas-s.net
wrote:
so..
I'm making a scheduler.. i have a table of scheduled and
scheduleable
hours for multiple users which needs to be turned into a view (with
schedule type as there are 4 different types) of 7 days
On 19/05/2009, at 11:57 PM, John Small rails-mailing-l...@andreas-
s.net wrote:
How can I get sub-totalling in tables?
I have an ActiveResource model which gets it's data from a legacy
Windows app via REST. The records are ordered by date. I need to
display
subtotals by week number. It
Have you looked at the group_by method of Enumerable?
Collect an enumerable into sets, grouped by the result of a block.
Useful, for example, for grouping records by date.
On May 19, 6:57 am, John Small rails-mailing-l...@andreas-s.net
wrote:
How can I get sub-totalling in tables?
I have an
That's so beautifully put!
Blog: http://random8.zenunit.com/
Twitter: http://twitter.com/random8r
Learn: http://sensei.zenunit.com/
New video up now at http://sensei.zenunit.com/ real fastcgi rails
deploy process! Check it out now!
On 19/05/2009, at 11:51 PM, John Small
Hi ruby community,
I use ruby 1.8.6, rails 2.2.2 and mysql 5.045.
In my scaffold I use t.date :birthday.
When I want to save a birthday like 12.05.1970 I can save it. But when
I try to save older birthdays like 12.05.1969 I get the error-message
time out of range.
Remarkable is, when I try
Julian Leviston wrote:
On 20/05/2009, at 12:57 AM, Morgan Morgan
rails-mailing-l...@andreas-s.net
wrote:
against all the returned scheduleable and scheduled hours for those 7
My suggestion is to drive things from the view requirements. What does
your view actually need to output? From
Morgan Morgan wrote:
it's basically just a calendar view from 8am to 12pm with colours for
each of the schedule types returned
so it's a grid
Can you change the model then? It sounds like something easier done the
other way around, ie, you iterate through the things that are scheduled
On Tue, May 19, 2009 at 8:57 AM, Jodi Showers j...@nnovation.ca wrote:
Morgan -
On 19-May-09, at 10:57 AM, Morgan Morgan wrote:
so..
I'm making a scheduler.. i have a table of scheduled and
scheduleable
hours for multiple users which needs to be turned into a view (with
Julian Leviston wrote:
Re: the API, why can't you use your browsers search feature?
Everything is on the one page - in frames.
That's totally wacked. The API I am referring to involves quite a few
seperate files in usr/local/lib/ruby/doc/. There would be not much
purpose to frames if they
Having more than one tool in your pocket is very beneficial, and Ruby/
RoR are great tools to have.
I have done a lot of .NET development in the past (and I did enjoy it)
but have been doing mostly RoR for the past year.
I won't say that I will never do a .NET project again. In some cases,
a
Hassan Schroeder wrote:
Anyway, see: http://railsapi.com/
--
Hassan Schroeder hassan.schroe...@gmail.com
This is a dead link. I presume you mean the same thing that's at
localhost:8808?
--
Posted via http://www.ruby-forum.com/.
On 19 May 2009, at 18:31, Mk 27 wrote:
Hassan Schroeder wrote:
Anyway, see: http://railsapi.com/
--
Hassan Schroeder hassan.schroe...@gmail.com
This is a dead link. I presume you mean the same thing that's at
localhost:8808?
works for me.
The security guide
On Tue, May 19, 2009 at 10:31 AM, Mk 27
rails-mailing-l...@andreas-s.net wrote:
Anyway, see: http://railsapi.com/
This is a dead link.
? It works for me.
I presume you mean the same thing that's at localhost:8808?
I do not.
--
Hassan Schroeder
Dates can't store earlier than I think 1970 something. Use time.
Blog: http://random8.zenunit.com/
Twitter: http://twitter.com/random8r
Learn: http://sensei.zenunit.com/
New video up now at http://sensei.zenunit.com/ real fastcgi rails
deploy process! Check it out now!
On 20/05/2009, at 3:14
I thought you meant API.rubyonrails.org
Which server errors?
Blog: http://random8.zenunit.com/
Twitter: http://twitter.com/random8r
Learn: http://sensei.zenunit.com/
New video up now at http://sensei.zenunit.com/ real fastcgi rails
deploy process! Check it out now!
On 20/05/2009, at 3:29
On Tue, May 19, 2009 at 10:14 AM, Herman Müller
rails-mailing-l...@andreas-s.net wrote:
I use ruby 1.8.6, rails 2.2.2 and mysql 5.045.
In my scaffold I use t.date :birthday.
When I want to save a birthday like 12.05.1970 I can save it. But when
I try to save older birthdays like
2009/5/19 Julian Leviston jul...@coretech.net.au:
Dates can't store earlier than I think 1970 something. Use time.
The MySQL Date doc for 5.0.x says:
The DATE type is used when you need only a date value, without a time
part. MySQL retrieves and displays DATE values in '-MM-DD' format.
Hi,
I have a partial (_contact.html) which looks something like this
script id=contact_template type=text/html
h2%= contact.name %/h2
p%= contact.id %/p
/script
I want to render this to the view exactly as it is show there. I don't
want the erb tags evaluating. When I try and render this
Morgan Morgan wrote:
[...]
hrmm. i guess it would make more sense to do a bunch of db querys and
parse small amounts of data instead of doing one big db call and parsing
large amounts of data..
No. Ask for all the records you need in as few queries as possible
(remember that AR will
Built in Ruby on Rails, UGreekRow helps fraternities and sororities
from the Greek community manage daily operations and connect with
alumni for job opportunities. With over 3,000 members signed up from
the University of Arizona and Arizona State, we have plans to launch
nationally within the
Hello,
I'm new in rails developing and I'm just writing my first application.
I already created some controllers and models and it works.
But now I want to write some tests for my application, but I got
problems.
I wrote one unit test for one model:
test test_should_create_a_component do
On May 19, 6:59 pm, Tyler Knappe rails-mailing-l...@andreas-s.net
wrote:
:onchange = start_date_time = $F, end_date = end_date_time[1,4]}
My question is two fold; I want to update the local values for time and
date. Is this the best method? How would I go about doing it? Google
seems to
I am not sure but could this be an error in your test fixture file? It
could be trying to load the test database from the fixture and failing
because the syntax of your fixture yml file is wrong.
Colin
2009/5/19 krani christian.kran...@googlemail.com
Hello,
I'm new in rails developing and
I have a link, /user_session/new, which takes you to a login screen (I
am using AuthLogic plugin) and in my layout template I have
div id=Content
%= link_to Logout, user_session_path, :method = :delete, :confirm
= Are you sure you want to logout? %
%= @content_for_layout %
/div
Here is my story:
I have two models that represent people or groups that can own
things. One is Person, the other is Group. Then, I have stuff that can
be owned by either a Person or a Group, like a Post for instance:
class Post
belongs_to :owner, :polymorphic = true
end
class Person
adjust for authlogic:
if current_user.logged_in?
# logout link
else
# login/signup links
end
On May 19, 1:36 pm, JannaB mistressja...@hotmail.com wrote:
I have a link, /user_session/new, which takes you to a login screen (I
am using AuthLogic plugin) and in my layout template I have
Hello,
I've followed the tutorial @
http://weeatbricks.com/2007/10/31/how-to-use-a-rails-app-with-https/ to
setup SSL on localhost, wanting to use https for logging in and such.
Using the method described above I get sensibly higher load times and of
course very very frequent and random
E. Litwin wrote:
[...]
I've turned down projects where the client was entrenched in non-agile
processes, but I wouldn't turn a client down based on the technology
they wanted to use.
Interesting. I sort of feel the opposite way: while I'd rather work
with a client who understands good
We have a Page model which acts_as_paranoid.
AAP modifies ActiveRecord finders to ignore any records marked as
deleted unless the :with_deleted = true option is supplied.
We have a UI element which allows users to toggle whether or not to
display deleted Pages, their current setting being
Finally, when using mongrel, you can always print to the console:
print @variable.inspect
Cheers, Sazima
On May 19, 4:08 am, Colin Law clan...@googlemail.com wrote:
Another alternative, where appropriate, is to use the ruby debugger and
break at the appropriate point to display the object
OK I finally am able to get a filereference uploader to send files to
rails from Flash. I had to turn the auth_token off using:
skip_before_filter :verify_authenticity_token, :only = 'upload_photo'
But, for security I want to turn it back on. But I'm unable to get
Flash to send the vars
Marnen Laibow-Koser wrote:
Morgan Morgan wrote:
[...]
hrmm. i guess it would make more sense to do a bunch of db querys and
parse small amounts of data instead of doing one big db call and parsing
large amounts of data..
No. Ask for all the records you need in as few queries as
1 - 100 of 107 matches
Mail list logo