search for: kieschnick

Displaying 20 results from an estimated 69 matches for "kieschnick".

2006 Jun 07
7
file_column image versions
does anyone know much about resizing different versions of images with file_column? i tried it and everything works fine, but my question is can you do more than just make sizes with a version of image? i''m working on a photo album and i would like to resize the image to a medium size, but create a thumbnail as well and crop anything left to make the thumbnail a perfect square. --
2006 Jul 14
4
sending additional parameters to before_filter
i am trying to create a system so that different users have different priviliges on my application. i was going to modify my authorize function so that i could pass the required role to it and have it check the current user for that role. i am using before_filter and would like to have just one function instead of writing one for each role like so: authorize(role) instead of:
2006 Jul 16
9
acl_system help is needed
i found Ezra''s acl_system plugin yesterday and i am trying to figure it out. based on the simple instructions on the site, it does exactly what i need but i''m getting some errors when i try to use it: NoMethodError in UsersController#index You have a nil object when you didn''t expect it! The error occured while evaluating nil.roles i am pretty new to rails and
2006 Apr 28
5
please explain web services
could someone explain some of the uses for a web service. i''m reading about how to make them, but i''m still not quite sure what they''re good for. i have multiple rails apps that i would like to pass user information back and forth to. i''m not sure if something like this could help me or not. thanks -- Posted via http://www.ruby-forum.com/.
2006 Aug 10
4
exporting vcards from rails
i''m doing a site for someone that has a form set up to collect contact information from the user. i installed the vpim gem and was hoping to give my client a way to download all of the contact''s information as a vcard. using the examples, i was able to get it working in ruby, but i''m not quite sure how to generate and download a vcard on the fly. has anyone done
2006 Jun 06
3
help with date formats
i have a datetime field in my database that i need broken up. i want to display the date and the time in separate places. i tried looking through the api, but couldn''t find what i was looking for. if someone could please point me in the right direction to format dates, that would be great. thanks -- Posted via http://www.ruby-forum.com/.
2006 Aug 04
3
forms and relationships
i''m still pretty new to rails, and while i''ve been able to hack my way into having it do what i want so far, i''m not happy with the way my code looks. on top of that, i''m sure that what i''m doing prlly isn''t the most efficient either. one of my biggest problems is probably to do with using relationships and forms together. i''ve
2007 Jan 18
2
The math underlying the `betareg' package?
...underlying model being estimated, the likelihood function, etc. E.g. if one has to compute \frac{\partial E(y)}{\partial x_i}, this requires careful calculations through these formulas. I read "Regression analysis of variates observed on (0,1): percentages, proportions and fractions", by Kieschnick & MucCullogh, `Statistical Modelling" 2003, 3:193-213. They say that the beta regression that they show is a proposal of theirs - is this the same as what betareg does, or is this the Standard Formulation? What else should I be reading about beta regressions? :-) -- Ajay Shah...
2006 May 02
3
web services on the client side
i am reading through chapter 20 of the agile web development book and trying to figure out how to use web services. i set up two different rails apps. one as the server and one as the client. setting up the server seems to work fine. but when i use the example at the end of the chapter to set up a client, i get the following error when i open the page: Missing API definition file in
2006 Jul 05
5
ok, lightTPD is installed... how do i use it.
i used the hivelogic article to install ruby on rails to my mac: http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger everything works great using the script/server command, but isn''t that still using WEBrick? how do i server my apps with lightTPD? i tried following the instructions given here: http://duncandavidson.com/essay/2005/12/railsonlighty but have had no
2006 Jun 20
5
ActionMailer to send to multiple people
I''ve been working with ActionMailer for a few days and finally have a pretty good grasp of it. In the book I''m reading, it shows how to send to multiple users or an array of users. Is there a setting or some configuration I can do to send the email to each person separately, or would I just need to loop through each user and send one email at a time? What is the best way to
2006 Mar 21
4
running .bash_login everytime
i used http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger to install ruby on rails on my mac. everything works fine unless i close the terminal application. after a while of pulling my hair out, i found out that everytime i restart terminal, i have to run ". ~/.bash_login" to make the paths work right. is that what i''m supposed to do everytme, or did
2006 Jul 13
3
mongrel, apache, mod_proxy, etc...
after days and days of fighting back and forth with an apache/fastcgi environment, i found mongrel and was up and running smoothly in about 10 minutes. i''m having a hard time with something though. if i set up ProxyPass and ProxyPassRevers to the root of the site, everything works fine. however once i try to just use separate directories for all of my apps, none of the attachments
2006 Apr 25
5
where does logic for the layout go?
on the main layout for my controller, i need a list of users - each with their own link to a lists of tasks that they have been assigned. i did have a line inside the .rhtml file that found all the users, but i''m guessing this is probably the wrong place to put them. i''m new to ruby and rails, so i still struggle a little with the MVC concept. -- Posted via
2006 Apr 06
3
scaffold question
there are some things on a scaffold that i would like to use without the whole thing. is it better to generate one and then cut it down to only what you''ll use? are all of the things in a scaffold available to just build by hand? for instance, i have a scaffold for my users. in the list action, it has @user_pages, so that you can put @user_pages.current.next or something like that -
2006 Jul 15
4
learning from typo.
i have a copy of the typo source on my desktop that i am going through just to get a better understanding of the rails framework and ruby itself. i''m fairly new to everything so it has proved to be very helpful and very inspiring. i''m stuck on a part though. i was trying to figure out how everything on the sidebar works. i found the components folder and started looking
2006 Apr 03
6
getting fcgi to work
can some one help me with my install? i''m having a touch time getting fcgi to play right with apache. i ran "gem install fcgi" and this is the output i get: Attempting local installation of ''fcgi'' Local gem file not found: fcgi*.gem Attempting remote installation of ''fcgi'' Updating Gem source index for: http://gems.rubyforge.org Building
2006 Mar 27
3
any luck installing RoR with apache / cpanel setup?
i just went through installing RoR on a cpanel setup and everything seems to work except for deployment. i go through the entire process of setting up a new rails app on a cpanel account and i get: Not Found The requested URL /testapp/index.html was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
2006 May 04
5
web service authentication
after almost a week of trial and error, i''ve finally got a hold of creating a web service in rails. after all this time though, i''m still not quite sure if i can make it work the way i want it to. i was basically trying to create a login portal so that the users at our company can have one place to login for all of our internal applications. well, right now - i can have each
2006 Aug 16
5
validation on methods that aren''t part of the database.
using the Rails Recipes book, i went through the tutorial on setting up authentication on a site. the tutorial was great, but it raises a few questions. the fields in the database are password_hash, and password_salt. the tutorial creates another method for password that takes the value it was given and hashes it and adds the 6 character salt at the end. what if i want to perform validation