s is done in the edit form
> as asset_fields.object.asset.url(:thumb) (where asset_fields.object
> represents the same Asset object as assetfield)
>
> Hope this helps. Good luck!
>
>
>
>
>
>
>
> On Thu, Jul 28, 2011 at 5:34 AM, Daniel Amsterdam wrote:
> &g
Hello,
i'm trying out Rails 3 and i've created a little app with paperclip.
My problem is that i cant get the assets for a user in the index
action but in the edit action it works. i have the flowing set up
class User
has_many :assets
class Asset
belongs_to :user
has_attached_file :asset,
me/sunspot/wiki/Drilling-down-with-facets
Thank you Matt
On 28 apr, 17:16, Matt Jones wrote:
> On Apr 27, 2:04 pm, Daniel Amsterdam wrote:
>
> > Hello all,
>
> > i'm starting a new application and as i'm quite new to rails i want to
> > ask some advise t
Hello all,
i'm starting a new application and as i'm quite new to rails i want to
ask some advise to start this application.
I'm planning to create an application with a search and filter
function (like a "search for real estate" application) if the user
selects an option i want to count the resu
Any ideas?
Thank you very much!
On 9 jan, 16:33, Frederick Cheung wrote:
> On Jan 9, 2:15 pm, Daniel Amsterdam wrote:
>
> > Thx Frederick,
>
> > You where right about the syntax error in the database.yml... think i
> > used tabs. So the scaffold command works now b
!
On 9 jan, 15:05, Frederick Cheung wrote:
> On Jan 9, 1:52 pm, Daniel Amsterdam wrote:
>
> > Hi everybody,
>
> > Can someone tell me how i can set up Rails 3.0.3 working with mysql on
> > Snow Leopard 32bit? i've tried adding the gem 'mysql2' in my gem f
Hi everybody,
Can someone tell me how i can set up Rails 3.0.3 working with mysql on
Snow Leopard 32bit? i've tried adding the gem 'mysql2' in my gem file
and run 'bundle install' with the database.yml set to:
development:
adapter: mysql2
database: rails_mysql_database
username: roo
The socket is ok, i use the socket in php and it works. I didn't put
the gem in the gem list (i didn't know i had to do that so thank you
for that) but when i put the gem in the list i get the error:
rake db:migrate
(in /sites/mysqlapp)
rake aborted!
undefined method `init' for Mysql:Class
The ge
Hello,
I'm new to ror and i really like it so far! for a new application i
would like to setup a ror application connecting to mysql but i can't
figure it out how. rails works fine with sqllite out the box but i
need it working with mysql. these are my versions:
-OSX snow leopard
-ruby 1.8.7 (200
you stuck some whre. we will help you.
>
> On Mon, Sep 27, 2010 at 4:10 AM, Daniel Amsterdam wrote:
>
> > Hello everybody,
>
> > I'm new to ROR and i'm building a test "job board" project just to see
> > how far i wil come with ruby. i'm al
Hello everybody,
I'm new to ROR and i'm building a test "job board" project just to see
how far i wil come with ruby. i'm already familiar with the MVC model
(currently using Zend Framework) and RESTfull webservices and i'm very
exited about rails.
Everything works out fine with the "job board" a
11 matches
Mail list logo