David Kahn wrote in post #990488:
> On Fri, Apr 1, 2011 at 3:43 PM, seeker 7805
> wrote:
>
>>
> What version of Rails are you using? If you are using Rails 3 you need
> to
> intall the bundle (type 'bundle install' in the console).
Hi David: Thanks for your reply. I typed in 'bundle install' and
I want to store, retrieve and handle all times inside my app in just one
Timezone. => "New Delhi"
for that I've set in my application.rb file,
config.time_zone = "New Delhi"
When i create a record like
Event.create(:when => DateTime.new(2011, 5, 7, 16, 0, 0))
it creates an event record in my m
Hey Bill--
I had to trim the [Rails] out of the header to get this out of my "general
reading" folder. Sorry for the delayed reply. Yes, I am always interested in
extra work (who isn't?). The best kind is the "not urgent enough" kind where
there is budget :)
I didn't know what kind of tech wri
I am trying to fetch http://drdobbs.com/rss/all. With wget or Firefox, works
fine. With em-request-http, the server redirects to a login page - 302 status
code, HTML response and response LOCATION header set to
https://login.techweb.com:443/cas/login?service=http%3A%2F%2Fdrdob
+bs.com%2Frss%2Fal
I have a question about the design decision behind the rails default
routing.
The normal routing is, to create a new record we GET `/things/new`. However,
when the user submits a new thing he is posting to #create at `/things`. The
vanilla create action looks like:
def create
@thing = Thin
Hi All,
I decided to write some blog entries on my pet project for running Ruby
1.9.2 and Ruby on Rails 3.0.5 on Windows Server 2008 EE. I figured I
might as well post while I create, and if anyone wants to stop by and
see how it works out, you are more than welcome to do so.
I'm primarily conce
Hello,
I just updated to using Rails 3.0.5 and was on Ruby 1.9.2p0 but
replaced that with 1.9.2p180 to try and get the over problem below but
am unable to. After creating a new project and adding a few gems to
Gemfile and bundle install (and update to make sure) when I try to
start the server with
execuse me!. I forgot this page..
https://github.com/markevans/dragonfly/
look for how use together your ruby gem =^.^=
2011/4/2 Carina Brito
> I'd like dragonfly. I were used it about 3 weeks ago. Dragonfly run with
> rmagick and i thought is better than rmagick, and this performace is good
>
You left the password empty in your yml file but your local mysql you must
have specified a password for root. So you need to plug that password in
your password option in your yml file.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To
I'd like dragonfly. I were used it about 3 weeks ago. Dragonfly run with
rmagick and i thought is better than rmagick, and this performace is good
2011/4/2 Lily ^_^
> Hello,
>
> I need some help to find the gem that suits best my project.
>
> I'm developping a gallery for my website. I upload im
rails railscoders --database=mysql
created the directory with folders except for a 'components/' folder
which Practical Rails by Alan Bradburne lists as one of the folders
created.
Continuing with:
mysqladmin -u root create railscoders_development
returns this:
mysqladmin: connect to server at
Hello,
I need some help to find the gem that suits best my project.
I'm developping a gallery for my website. I upload images through the
backend, and the images are displayed as thumbnails alltogether on the
same page. Then I use Lightbox to show them enlarged.
I would like to physically resize
I want to set up a new project and use all the gems in a previous
project in their current state in that project. What should I do to
make this happen? Do I just copy and paste the Gemfile.lock over to
the new project Gemfile.lock?
Thanks!
Shawn
--
You received this message because you are sub
Hello, I have some problems on using compass and blueprint.
Before asking I want to know if there is anyone using compass with
blueprint liquid here.
Thank you.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send e
Hello, i have another question about overriding Rails conventions.
Is it possible to tell Rails which model/controller is defined in which
file?
I have generated a model and a controller as follows:
$ rails generate model KnownIP ...
...
$ rails generate controller KnownIPs ...
The problem is w
I'm interested in knowing whether a session is created by pages
requested by web crawlers and bots. I am using MySQL as a the session
store and would like to prevent requests by web crawlers and bots from
creating unnecessary session entries.
--
You received this message because you are subscribe
Serialization is OK. I think the problem is in deserialization.
2011/4/2 Gustavo de Sá Carvalho Honorato
>
> On Sat, Apr 2, 2011 at 1:54 PM, Frederick Cheung <
> frederick.che...@gmail.com> wrote:
>
>>
>>
>> On Apr 2, 2:25 pm, Gustavo de Sá Carvalho Honorato
>> wrote:
>> > Hi,
>> >
>> > I'm hav
On 2 April 2011 20:10, Dan King wrote:
> When I run rake db:seed in my Rails 3 application I get the following
> error; anyone know how to resolve it?
>
> rake aborted!
> undefined method
> 'find_or_create_by_first_name_and_last_name_and_role_and_email_and_password_and_password_confirmation'
>
> B
When I run rake db:seed in my Rails 3 application I get the following
error; anyone know how to resolve it?
rake aborted!
undefined method
'find_or_create_by_first_name_and_last_name_and_role_and_email_and_password_and_password_confirmation'
Below are my create_users.rb,user.rb, and seeds.rb file
On Sat, Apr 2, 2011 at 1:54 PM, Frederick Cheung wrote:
>
>
> On Apr 2, 2:25 pm, Gustavo de Sá Carvalho Honorato
> wrote:
> > Hi,
> >
> > I'm having problems with serialize helper method. The data serialization
> is
> > OK, the problem is when I retrieve the object from database later the
> > se
On Apr 2, 2:25 pm, Gustavo de Sá Carvalho Honorato
wrote:
> Hi,
>
> I'm having problems with serialize helper method. The data serialization is
> OK, the problem is when I retrieve the object from database later the
> serialized attribute is not loaded (=nil). I'm trying to implement the
> Seria
Hi,
I'm having problems with serialize helper method. The data serialization is
OK, the problem is when I retrieve the object from database later the
serialized attribute is not loaded (=nil). I'm trying to implement the
Serialized LOB design pattern, do you think there is a better way to do it?
W
On 2 April 2011 06:53, kaushikxkcd wrote:
> I have created the whole database and now also created a migration
> named "kmigrate"
> when i use the " rake db:schema:dump " command it doesnt pop up an
> error but when i log onto
> schema.rb file then it pops up this error :
What do you mean log ont
I have created the whole database and now also created a migration
named "kmigrate"
when i use the " rake db:schema:dump " command it doesnt pop up an
error but when i log onto
schema.rb file then it pops up this error :
ActiveRecord::Schema.define(:version => 20110402024216) do
# Could not dump
Are you on a *nix system( Linux,MacOS X , BSD's)?
If you are , have you already checked the environment variables?
If you aren't , this is a *nix command.
--
Regis Mesquita
Sent with Sparrow
On sexta-feira, 1 de abril de 2011 at 18:31, wordmystic wrote:
> I typed, "rm public/index.html"
>
> G
shouldn't the directory separator be inverted in windows?
del public\index.html
Em 01/04/2011, às 20:43, wordmystic escreveu:
> Actually I took a guess at del and got back: Invalid switch -
> "index.html".
>
> On Apr 1, 3:25 pm, Chris Mear wrote:
>> On 1 Apr 2011, at 22:31, wordmystic wrote:
have you already tried , "del public\index.html" ?
--
Regis Mesquita
Sent with Sparrow
On sexta-feira, 1 de abril de 2011 at 21:26, wordmystic wrote:
> OOps! It's still there, but the rem didn't give me any kind of error
> message.
>
> On Apr 1, 4:54 pm, wordmystic wrote:
> > But rem worked!
>
Every time I try to create a new project, this is what happens:
C:\Users\Reynolds Family\sites>rails new simple_cms -d mysql
create
create README
create Rakefile
Could not find "config.ru" in any of your source paths. Your current
source paths are:
C:/Ruby192/lib/ruby/gems/1.9.
On 1 Apr 2011, at 23:22, John Merlino wrote:
> Hey all,
>
> I'm building a html helper.
>
> My view looks like this:
>
> = item_view "title", @post.title, :class => 'stuff'
>
This means that args.second is your hash of options
>
> def item_view(label, *args)
>data = args.fir
On 1 April 2011 23:22, John Merlino wrote:
> = item_view "title", @post.title, :class => 'stuff'
Have you got a field in your model called "class"? If so, I'd change
that, as it's a reserved word, and will cause all sorts of confusion
to Ruby.
--
You received this message because you
On 2 April 2011 00:43, wordmystic wrote:
> Actually I took a guess at del and got back: Invalid switch -
> "index.html".
del public\index.html
If this step is proving a stumble, maybe it would be appropriate to
take some computer foundations classes before trying to learn RoR and
application d
31 matches
Mail list logo