Displaying 20 results from an estimated 70 matches for "koserhttp".
2009 Oct 27
14
Authlogic Password confirmation is too short Error. NEED HELP.
Hi:
I am using authlogic, and following railscast tutorial. I am running
into this error code with the password confirmation.
authlogic password confirmation is too short
Has anyone experienced this error? I need your help.
Thanks in advance for your help.
2009 Sep 24
13
Rails Authentication Tutorial
Does anyone know a good authentication tutorial they can suggest? I''ve
tried several restful authentication ones and an authlogic one on
RailsCast. But with each one I try, something seems to be missing in
the tutorial and I can''t get it to work. I''m new to Rails so it''s
possible user error on my part.
I''m on Mac OS X 10.5 and I generate all my apps in
2009 Apr 03
7
RJS not rendering correctly when mime-type is 'iphone'
I have an iPhone version of my site, and for some reason none of the
rjs works when viewing the iPhone version. This happens instead:
ActionView::MissingTemplate (Missing template controller_name/
update.erb in view path app/views)
The rjs works fine when viewing the site normally, and it worked when
viewing the iPhone version prior to upgrading Rails to 2.3.2.
Additional info: I have
2009 May 01
5
Layout antics
I have a strange problem with my layout file. I think it may be due to
nested partials, but removing the deepest nested partial call does not
clear the problem.
I have an application wide layout (application.html.erb) that works as
expected - loads images, javascript, css etc for my application.
So http://localhost:3000/patients --> fine
http://localhost:3000/patients/new --> fine
2009 Sep 07
11
autoincrement for non-id column
There is a table:
execute (<<-SQL)
CREATE TABLE "tasks" (
"id" serial primary key,
"number" serial,
"version" integer DEFAULT 0 NOT NULL,
"latest_version" boolean DEFAULT ''t'' NOT NULL,
"hidden" boolean DEFAULT ''f'' NOT NULL,
"type" character varying (1) NOT
2009 Jun 22
5
has_many through , or habtm , using form
i think there ara two ways of relate products and categories ,
basically i want to fix one product(e.g hp dv7....) to some categories
(notebook,17"notebooks...)
i made a table named categorization(incuding category_id,product_id
fields) then in models i write these codes below
class Product < ActiveRecord::Base
has_many :categories, :through => :categorizations
2010 Dec 14
5
Build associated model confusion
I''m new to Rails3, and I''m just trying to get one last thing to work
before I call it a night. The situation is the following (please if
the code is horrible, just let me know, still learning):
I want to log a dive. I might have a new location on that dive at
which point I have to create a new Location, and then create the dive.
A dive has_one location. A location has_many
2009 Nov 02
7
*** Quick help with paperclip ***
Hi All,
Someone reccomended using paperclip as a way to easily upload photos.
Basically I want a quick and easy solution to allow users to add a
profile picture.
Anyway - I have followed the tutorial on here:
http://jimneath.org/2008/04/17/paperclip-attaching-files-in-rails/
I can add a file, but there isnt anywhere to upload it.
I have followed the above tutorial word for word, but i dont
2009 Sep 01
5
Deep nested associations on the same Model
This could be a lot simpler than I think and I''m just missing something
obvious!
I''m working on a creative collaboration app whereby one user could
submit a Story and this can then be forked by another user and worked on
seperately. To acheive this I have a has_many association within the
same Story model as such:
class Story < ActiveRecord::Base
has_many
2010 Oct 13
10
Rails 2.3.8 - What happens to a datetime field between a form being submitted and the controller receiving the params
I currently have a model that simply contains one datetime field:
class CreateElectricityReadings < ActiveRecord::Migration
def self.up
create_table :clocks do |t|
t.datetime :time_keeper
t.timestamps
end
end
def self.down
drop_table :clocks
end
end
If I enter the date string "13/10/2010" into this field its showing up
in the controller as
2010 Jan 25
9
skinny Controllers, fat models with REST?
Hi,
I''m really new to rails, so i programmed some stuff and today i read
some things about skinny Controllers, fat models.
My Controllers are really fat now. So i''m asking myself how can i
shrink my controllers and move the code to the models, especially in
fact of REST e.g. in focus on error codes?
code example:
# POST /tasks
# POST /tasks.xml
def create
@authorized
2010 Aug 09
6
configure question and passenger
Greetings all.
I have seen a couple of diagrams on the net that look like a computer
set up as an nginx server and more than one mongrel server running at
once.
What is the advantage of having more than one mongrel server running?
Is there a good how-to that explains it very well.
thanks
shawn
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2009 May 07
12
is there simpler way to export html within xml
Hi,
we''re exporting a lot of html code within xml, our current method works
but it''s very messy - far from perfect, is there a better way to do
this.
an example of our controller code is
html = html + "<img src="/icon/icon_email.gif"
2010 Sep 23
8
HowTo; Rails 3, having Tabs that load content via jQuery ... No Page Refesh
Hello, I''m interested in learning the correct/smart approach for
implementing a web page with tabs and a content panel... When the tab
is clicked by the user the tab''s content is fetched and inserted with
jQuery... no page refresh...
Example, Facebook, when you click Photos or Events, it doesn''t refresh
the browser, just replaces the content with AJAX in the
2010 Aug 30
10
Trouble with rvm (Ruby Version Manager)
Hi--
Am having trouble with rvm. Successfully installed it, but when I
tried to install Ruby 1.8.7, here is the error I got:
Paul-Denlingers-MacBook-Pro:~ pdenlinger$ rvm install 1.8.7
-bash: rvm: command not found
Tried closing terminal, quitting terminal, opening another tab, etc.
but continued to get same error.
What to do?
Thanks!
--
You received this message because you are subscribed
2010 Nov 09
6
Upgrading to snow leopard
Hi All,
I''m currently mid-project at the moment, and am scepticle in upgrading
to Snow Leopard.
If I do, will it affect my current Ruby on Rails set up on my
machine??
Cheers
--
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
2009 Sep 04
2
escape_javascript error
Hello,
I am using jQuery for all ajax stuff and recently got following error:
ActionView::TemplateError (private method `gsub'' called for #<Array:
0x2425ae8>) on line #1 of...
and the code where it happens:
$("#notice_ajax").before(''<div id="notice_ajax"><%= escape_javascript
(flash.delete(:notice)) %></div>'').remove();
2009 Oct 01
3
Using Ruby on Rails to edit a script?
Is ROR a good fit if I want to edit and expand on a developed script
like RoundCube( http://roundcube.net/ )? I''m planing to edit it for my
business as an order/transcript application.
If anyone is interested this link is what I want to make.
http://handoff.wordpress.com/
2009 Oct 28
2
What should I do testing for an old application?
I got this Ruby on Rails application with incomplete testing, (many
controllers or views do not have unit test at all).
Should I go back to write all unit test for each of controller or
view, then do integration test? Or I just forget about all of them,
keep going ahead with my new functions with my new unit test?
My concerns here are: I also need to upgrade Ruby and Rails, or re-
factoring the
2009 May 13
3
free sms gateway in india
Hi,
I am Ramu from India, My rails application needs to have sms
feature I searched for couple of rails plugins like sms-fu and all.
But it seems that none of them has a support to india mobiles. Please
help me in finding out the free sms plugin for rails in india.
Thanks,
Ramu.