Displaying 20 results from an estimated 1000 matches similar to: "Tons of shiny new stuff"
2005 Mar 09
1
Re: Tons of shiny new stuff (Tobias Luetke)
Tobias, I would have left a comment on your blog, a thanks really, except
that the comment submit form is throwing an error. So, thanks for the cool
tools, especially the login generator. After deleting the old generator the
new one worked and passed all tests in a snap. Like Tim Lucas said, the
Hieraki code base is a wonderful resource for someone learning Rails. Much
appreciated.
2005 Apr 24
4
Typo 2.0
I''m proud to announce the 2.0 release of the typo web logging engine.
What started as a toy project while
I was waiting for a client at starbucks now became a prestige open
source project with tons of modern features a dedicated dev team and
even its own hosting service!
Get it at http://rubyforge.org/projects/typo/
The 2.0 release has been long coming. Here are some of the new
2008 Jul 09
4
Auto Postback in Ruby On Rails
in some other language have a concept e.i "auto postback"
So, in Ruby on rails is there any such option e.i "auto postback"
or same as "auto postback"
basically what i want ot do is that i have 2 select box
One for "Industry" and other for "Chemical"
1st we show all the industry in "Industry" select box.
if we select any 1 industry
2005 Jan 29
4
problem with postback generator on 0.9.5
I''m trying to call the postback generator on rails 0.9.5. I''ve
installed the postback tarball into
gems/1.8/gems/rails-0.9.5/generators/postback as it seems like it is
supposed to be. At least, I installed the login generator the same way
and it works. But when I try to run it, I get this:
[carl@e236014 test]$ ruby script/generate postback
2005 Apr 25
1
Problems when using sweepers with postbacks
I''m using a cache sweeper class [1] to take care of some pretty complex
sweeping. However, there is a problem with the current implementation.
Namely, the sweeper gets called only when an action named in
cache_sweeper is called using GET. As many methods where sweeper would
be useful are using postback to send the form to the same action, this
causes the cache to get swept when
2006 Aug 14
1
Postback Action Problem
I was trying to use postbacks, but its not working.
def edit
@xxxx= xxxx.find_by_id(params[:id]) || xxxx.new
if request.post?
@xxxx.attributes = params[:xxxx]
redirect_to :list and return if @xxxx.save
end
end
I get the following error: SystemStackError in xxxxxController#edit
stack level too deep. The code of list is same as the code generated by the
scaffold
2005 Mar 10
6
images from database + caching
Is the information in
http://wiki.rubyonrails.com/rails/show/HowtoUploadFiles on caching
images still the best way on how to cache images that are served from
the database?
I haven''t added time information to my image table yet, and the images
are sent after every single page view (even if it''s been downloaded
already).
Joe
2005 Jan 17
5
how to override rails errors messages?
hi,
how can i override rails errors mesages (that are in english) to
display them in an other language?
thanks
hangon
2005 Mar 17
4
Specifying Which Environment I Am In
After I have uploaded my app where do I specify that my app should now
use production environment settings and not development?
Can that be done dynamically so that I don''t have to reset a value once
I upload website?
Thanks for your help!
2005 Mar 09
10
Confused about extending the login generator ''user''
I''ve been using the login generator ''out of the box'' for simple
authentication, and its been working fine.
Now I want to extend it by simply adding ''type_id'' field which links to
my ''user_types'' table, but I''m hitting:
#<ActionController::SessionRestoreError: Session contained objects where
the class definition
2005 Mar 03
19
Better tools for authoring the view
I''m hand editing my .css and .rhtml files using SciTE and hitting
refresh in my browser to see the results - its slow going.
What tools are people using to author their .css and .rhtml files?
Thanks,
Neville
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2005 Mar 24
3
Caching computation in rails?
Caching computation in rails?
Simple example: factorial modulus a large number
input: integer x
output: factorial( x ) % 12345678901234567
I want it so that if it computes factorial of N once, it will not have
to compute for N again.
code:
class SiteController < ApplicationController
caches_action :factorial, :inv
def examine
@inv = @params[''inv'']
@outv =
2007 Oct 12
13
How to maintain Form State between Postback ?
Hi all,
I''ve trying to look for answers for my problem but so far couldn''t
find one, hopefully you can tell me what to do.
This problem is so ubiquitous to Web Development, pertaining the fact
that the web is stateless, i.e. how to maintain form''s state between
postback.
Basically, I have a form with some validations run for some of the
fields, whenever the user submit
2005 May 03
8
SQLite3 + RAM drive => 3 times faster unit tests
One problem I sort of always had with the ActiveRecord''s tight coupling
to the SQL backend is how slow it makes the unit tests. OK, there are
some ways to make it faster at a price of extra complexity (reusing the
fixtures, doing a rollback in the end of the test, etc), but still - it
is much slower than what I would like a unit test to be.
Today I had a very simple idea (why, oh why
2005 Mar 05
3
login generator problem
I am trying to use the login generator, but I keep
getting the following error when I run "generate login
Account":
/usr/lib/ruby/gems/1.8/gems/rails-0.10.0/lib/rails_generator/base.rb:84:in
`manifest'': No manifest for ''login'' generator.
(NotImplementedError)
from (eval):3:in `__send__''
from (eval):3:in `manifest''
from
2005 Dec 20
2
Designing a data-entry screen
Here''s what i''m trying to do:
Have 3 dropdowns up the top of a page, being: year, month, department,
and group. Also a button underneath that called refresh.
When you click refresh, it finds the 1 row of data from the database for
that year/month/dept/group and populates the fields into a set of
textboxes below.
Then you can edit what is in those textboxes, and click a
2005 Mar 01
2
@request cycle variables
I posted something about this yesterday, and got some good responses but
it seems that the variable @request[''controller''] isn''t being passed in
to the page or isn''t being read. Has the naming convention for these
variables changed. it worked great in all rails versions up to 0.9.5
with fcgi, but is not working in rails 0.10.0 with fcgi. I am currently
just
2006 Feb 01
1
Bus error when running Hieraki
I have been trying to set up Hieraki 2.0.1 and I cannot seem to
get it running. I am running on FreeBSD 5.4, Ruby 1.8.4,
Apache 2.0.55, Mysql 4.1.16, ruby-mysql 2.7, mod_scgi 1.9,
scgi_rails 4.3 and Rails 1.0. I can start up the wiki, get
it to display the home page, and when I click on the signup link
the signup form displays. When I fill in the signup form and
click the signup button, the
2006 Jun 26
6
paypal ipn from leetsoft
Has anyone had any luck with the paypal gem from leetsoft (Tobias
Luetke)?
I''m successfully sending off and making payments, but the ipn doesn''t
send back to my site. I have the notify_url set in the form, have a
action set for the ipn postbacks, but all I get from my sandbox after
payment is a "view shops" page from paypal after payment is made.
--
Posted via
2005 Mar 06
9
How to do SQL queries outside of AR
Hi Everyone,
I''m trying to figure out how to do SQL queries in the Controller. I know
this is not recommended, but I can''t use ActiveRecord because I am
dealing with thousands of a different tables, one for each user, and
I don''t think AR can be made to handle that situation.
You can assign the table name; but that''s a class variable so any particular